Changeset 134 in josm for src/org/openstreetmap
- Timestamp:
- 2006-08-15T01:16:01+02:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/org/openstreetmap/josm/gui/PreferenceDialog.java
r133 r134 66 66 */ 67 67 class OkAction extends AbstractAction { 68 private static final String OKBUTTON_PROP = "OptionPane.okButtonText"; 69 68 70 public OkAction() { 69 super(UIManager.getString("OptionPane.okButtonText"), 70 UIManager.getIcon("OptionPane.okIcon")); 71 super(UIManager.getString(OKBUTTON_PROP), UIManager.getIcon("OptionPane.okIcon")); 71 72 try { 72 73 putValue(MNEMONIC_KEY, new Integer((String)UIManager.get("OptionPane.okButtonMnemonic"))); … … 117 118 */ 118 119 class CancelAction extends AbstractAction { 120 private static final String CANCELBUTTON_PROP = "OptionPane.cancelButtonText"; 119 121 public CancelAction() { 120 super(UIManager.getString( "OptionPane.cancelButtonText"),122 super(UIManager.getString(CANCELBUTTON_PROP), 121 123 UIManager.getIcon("OptionPane.cancelIcon")); 122 124 try {
Note:
See TracChangeset
for help on using the changeset viewer.