Changeset 26464 in osm for applications
- Timestamp:
- 2011-08-06T21:14:05+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/panels/PanelTop.java
r26298 r26464 49 49 dlg.mark.setTopmark(top); 50 50 dlg.mark.setDaymark(Day.NONE); 51 switch (top) {52 case NONE:53 dlg.panelMain.topIcon.setIcon(null);54 case CAN:55 switch (dlg.mark.getRegion()) {56 case A:57 case C:58 dlg.panelMain.topIcon.setIcon(new ImageIcon(getClass().getResource("/images/top_ih_can_red.png")));59 break;60 case B:61 dlg.panelMain.topIcon.setIcon(new ImageIcon(getClass().getResource("/images/top_ih_can_green.png")));62 break;63 }64 break;65 case CONE:66 switch (dlg.mark.getRegion()) {67 case A:68 case C:69 dlg.panelMain.topIcon.setIcon(new ImageIcon(getClass().getResource("/images/top_ih_cone_green.png")));70 break;71 case B:72 dlg.panelMain.topIcon.setIcon(new ImageIcon(getClass().getResource("/images/top_ih_cone_red.png")));73 break;74 }75 break;76 }77 51 button.setBorderPainted(true); 78 52 } else
Note:
See TracChangeset
for help on using the changeset viewer.