Changeset 30532 in osm for applications/editors/josm/plugins/smed/src/panels/PanelSectors.java
- Timestamp:
- 2014-07-14T04:18:06+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/smed/src/panels/PanelSectors.java
r29894 r30532 36 36 } 37 37 }; 38 public JComboBox colourBox;38 public JComboBox<ImageIcon> colourBox; 39 39 public EnumMap<Col, ImageIcon> colours = new EnumMap<Col, ImageIcon>(Col.class); 40 public JComboBox visibilityBox;40 public JComboBox<String> visibilityBox; 41 41 public EnumMap<Vis, String> visibilities = new EnumMap<Vis, String>(Vis.class); 42 public JComboBox exhibitionBox;42 public JComboBox<String> exhibitionBox; 43 43 public EnumMap<Exh, String> exhibitions = new EnumMap<Exh, String>(Exh.class); 44 44 … … 74 74 75 75 TableColumn colColumn = table.getColumnModel().getColumn(1); 76 colourBox = new JComboBox ();76 colourBox = new JComboBox<>(); 77 77 addColItem(new ImageIcon(getClass().getResource("/images/DelButton.png")), Col.UNKCOL); 78 78 addColItem(new ImageIcon(getClass().getResource("/images/WhiteButton.png")), Col.WHITE); … … 87 87 88 88 TableColumn visColumn = table.getColumnModel().getColumn(12); 89 visibilityBox = new JComboBox ();89 visibilityBox = new JComboBox<>(); 90 90 addVisibItem("", Vis.UNKVIS); 91 91 addVisibItem(Messages.getString("Intensified"), Vis.INTEN); … … 95 95 96 96 TableColumn exhColumn = table.getColumnModel().getColumn(13); 97 exhibitionBox = new JComboBox ();97 exhibitionBox = new JComboBox<>(); 98 98 addExhibItem("", Exh.UNKEXH); 99 99 addExhibItem(Messages.getString("24h"), Exh.H24);
Note:
See TracChangeset
for help on using the changeset viewer.