Changeset 26977 in osm for applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/panels/PanelStbd.java
- Timestamp:
- 2011-10-28T13:51:21+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/panels/PanelStbd.java
r26972 r26977 4 4 import java.awt.event.*; 5 5 import javax.swing.*; 6 6 7 import java.util.*; 7 8 … … 112 113 } 113 114 115 public void syncButtons() { 116 for (Shp shp : shapes.keySet()) { 117 JRadioButton button = shapes.get(shp); 118 if (dlg.mark.getShape() == shp) { 119 button.setBorderPainted(true); 120 } else 121 button.setBorderPainted(false); 122 } 123 } 124 114 125 private JRadioButton getShapeButton(JRadioButton button, int x, int y, int w, int h, String tip, Shp shp, Obj obj) { 115 126 button.setBounds(new Rectangle(x, y, w, h));
Note:
See TracChangeset
for help on using the changeset viewer.