- Timestamp:
- 2009-09-19T16:37:52+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/ExtendedDialog.java
r2154 r2161 283 283 }; 284 284 285 rootPane.getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW)285 getRootPane().getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW) 286 286 .put(KeyStroke.getKeyStroke("ESCAPE"), "ESCAPE"); 287 rootPane.getActionMap().put("ESCAPE", actionListener); 288 } 289 287 getRootPane().getActionMap().put("ESCAPE", actionListener); 288 } 289 290 /** 291 * Override setVisible to be able to save the window geometry if required 292 */ 290 293 @Override 291 294 public void setVisible(boolean visible) {
Note:
See TracChangeset
for help on using the changeset viewer.