Changeset 5833 in josm


Ignore:
Timestamp:
2013-04-07T17:27:07+02:00 (12 years ago)
Author:
Don-vip
Message:

see #8571 - Small improvements to status report

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/ShowStatusReportAction.java

    r5831 r5833  
    7272            List<String> vmArguments = ManagementFactory.getRuntimeMXBean().getInputArguments();
    7373            if (!vmArguments.isEmpty()) {
    74                 text.append("VM arguments: "+ vmArguments);
     74                text.append("VM arguments: "+ vmArguments.toString().replace("\\\\", "\\"));
    7575                text.append("\n");
    7676            }
     
    131131        ed.setButtonIcons(new String[] {"copy.png", "cancel.png" });
    132132        ed.setContent(sp, false);
    133         ed.setMinimumSize(new Dimension(500, 0));
    134         ed.showDialog();
     133        ed.setMinimumSize(new Dimension(380, 200));
     134        ed.setPreferredSize(new Dimension(700, Main.parent.getHeight()-50));
    135135
    136         if(ed.getValue() != 1) return;
     136        if (ed.showDialog().getValue() != 1) return;
    137137        Utils.copyToClipboard(text.toString());
    138138    }
Note: See TracChangeset for help on using the changeset viewer.