Ignore:
Timestamp:
2012-04-16T21:57:13+02:00 (8 years ago)
Author:
simon04
Message:

about dialog: set cursor/caret position to 0 in order to scroll to top

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/plugins/PluginHandler.java

    r5145 r5194  
    10631063                    a.setEditable(false);
    10641064                    a.setText(b.toString());
     1065                    a.setCaretPosition(0);
    10651066                    JOptionPane.showMessageDialog(Main.parent, new JScrollPane(a), tr("Plugin information"),
    10661067                            JOptionPane.INFORMATION_MESSAGE);
     
    10761077            description.setBorder(BorderFactory.createEmptyBorder(0, 20, 0, 0));
    10771078            description.setBackground(UIManager.getColor("Panel.background"));
     1079            description.setCaretPosition(0);
    10781080
    10791081            pluginTab.add(description, GBC.eop().fill(GBC.HORIZONTAL));
Note: See TracChangeset for help on using the changeset viewer.