Changeset 23493 in osm for applications/editors
- Timestamp:
- 2010-10-07T07:15:09+02:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/smed/plugs/lights/src/lights/Lights.java
r23479 r23493 12 12 import java.awt.event.ActionListener; 13 13 import java.awt.Dimension; 14 15 14 16 15 import smed.plug.ifc.SmedPluggable; … … 40 39 @Override 41 40 public boolean stop() { 42 if (sectors != null) {41 if (sectors != null) { 43 42 sectors.setVisible(false); 44 43 sectors.dispose(); … … 81 80 public boolean hasFocus() { 82 81 manager.showVisualMessage(msg); 83 if(rbFiredN != null) 84 if(rbFiredN.isSelected()) sectors.setVisible(true); 82 if (rbFiredN != null) 83 if (rbFiredN.isSelected()) 84 sectors.setVisible(true); 85 85 return true; 86 86 } … … 88 88 @Override 89 89 public boolean lostFocus() { 90 if(sectors != null) sectors.setVisible(false); 90 if (sectors != null) 91 sectors.setVisible(false); 91 92 return true; 92 93 } … … 128 129 } 129 130 sectors.setVisible(true); 131 } else if (sectors != null) { 132 sectors.setVisible(false); 133 sectors.dispose(); 130 134 } 131 135 }
Note:
See TracChangeset
for help on using the changeset viewer.