Changeset 30532 in osm for applications/editors/josm/plugins/smed/src/panels/PanelLit.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/PanelLit.java
r29894 r30532 39 39 }; 40 40 public JLabel visibilityLabel; 41 public JComboBox visibilityBox;41 public JComboBox<String> visibilityBox; 42 42 public EnumMap<Vis, Integer> visibilities = new EnumMap<Vis, Integer>(Vis.class); 43 43 private ActionListener alVisibility = new ActionListener() { … … 79 79 }; 80 80 public JLabel categoryLabel; 81 public JComboBox categoryBox;81 public JComboBox<String> categoryBox; 82 82 public EnumMap<Lit, Integer> categories = new EnumMap<Lit, Integer>(Lit.class); 83 83 private ActionListener alCategory = new ActionListener() { … … 115 115 }; 116 116 public JLabel exhibitionLabel; 117 public JComboBox exhibitionBox;117 public JComboBox<String> exhibitionBox; 118 118 public EnumMap<Exh, Integer> exhibitions = new EnumMap<Exh, Integer>(Exh.class); 119 119 private ActionListener alExhibition = new ActionListener() { … … 209 209 categoryLabel.setBounds(new Rectangle(185, 0, 165, 20)); 210 210 add(categoryLabel); 211 categoryBox = new JComboBox ();211 categoryBox = new JComboBox<>(); 212 212 categoryBox.setBounds(new Rectangle(185, 20, 165, 20)); 213 213 add(categoryBox); … … 235 235 visibilityLabel.setBounds(new Rectangle(185, 40, 165, 20)); 236 236 add(visibilityLabel); 237 visibilityBox = new JComboBox ();237 visibilityBox = new JComboBox<>(); 238 238 visibilityBox.setBounds(new Rectangle(185, 60, 165, 20)); 239 239 add(visibilityBox); … … 247 247 exhibitionLabel.setBounds(new Rectangle(280, 80, 70, 20)); 248 248 add(exhibitionLabel); 249 exhibitionBox = new JComboBox ();249 exhibitionBox = new JComboBox<>(); 250 250 exhibitionBox.setBounds(new Rectangle(280, 100, 70, 20)); 251 251 add(exhibitionBox);
Note:
See TracChangeset
for help on using the changeset viewer.