Changeset 8152 in josm
- Timestamp:
- 2015-03-26T14:45:37+01:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/ImageryAdjustAction.java
r8126 r8152 17 17 import java.awt.event.MouseListener; 18 18 import java.awt.event.MouseMotionListener; 19 import java.awt.event.WindowAdapter; 20 import java.awt.event.WindowEvent; 19 21 import java.util.Formatter; 20 22 import java.util.Locale; … … 207 209 setContent(pnl); 208 210 setupDialog(); 211 addWindowListener(new WindowEventHandler()); 209 212 } 210 213 … … 302 305 } 303 306 } 307 308 class WindowEventHandler extends WindowAdapter { 309 @Override 310 public void windowClosing(WindowEvent e) { 311 setVisible(false); 312 } 313 } 304 314 } 305 315
Note:
See TracChangeset
for help on using the changeset viewer.