Changeset 30532 in osm for applications/editors/josm/plugins/smed/src/panels/PanelSpec.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/PanelSpec.java
r30294 r30532 17 17 private SmedAction dlg; 18 18 public JLabel categoryLabel; 19 public JComboBox categoryBox;19 public JComboBox<String> categoryBox; 20 20 public EnumMap<Cat, Integer> categories = new EnumMap<Cat, Integer>(Cat.class); 21 21 private ActionListener alCategoryBox = new ActionListener() { … … 28 28 } 29 29 }; 30 public JComboBox mooringBox;30 public JComboBox<String> mooringBox; 31 31 public EnumMap<Cat, Integer> moorings = new EnumMap<Cat, Integer>(Cat.class); 32 32 private ActionListener alMooringBox = new ActionListener() { … … 173 173 categoryLabel.setBounds(new Rectangle(5, 125, 160, 18)); 174 174 add(categoryLabel); 175 categoryBox = new JComboBox ();175 categoryBox = new JComboBox<>(); 176 176 categoryBox.setBounds(new Rectangle(5, 142, 160, 18)); 177 177 add(categoryBox); … … 196 196 addCatItem(Messages.getString("FerryCross"), Cat.SPM_FRRY); 197 197 addCatItem(Messages.getString("Anchorage"), Cat.SPM_ANCH); 198 mooringBox = new JComboBox ();198 mooringBox = new JComboBox<>(); 199 199 mooringBox.setBounds(new Rectangle(5, 142, 160, 18)); 200 200 add(mooringBox);
Note:
See TracChangeset
for help on using the changeset viewer.