Changeset 30532 in osm for applications/editors/josm/plugins/smed/src/panels/PanelMore.java
- Timestamp:
- 2014-07-14T04:18:06+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/smed/src/panels/PanelMore.java
r29894 r30532 44 44 }; 45 45 public JLabel statusLabel; 46 public JComboBox statusBox; 46 public JComboBox<String> statusBox; 47 47 public EnumMap<Sts, Integer> statuses = new EnumMap<Sts, Integer>(Sts.class); 48 48 private ActionListener alStatus = new ActionListener() { … … 56 56 }; 57 57 public JLabel constrLabel; 58 public JComboBox constrBox; 58 public JComboBox<String> constrBox; 59 59 public EnumMap<Cns, Integer> constructions = new EnumMap<Cns, Integer>(Cns.class); 60 60 private ActionListener alConstr = new ActionListener() { … … 68 68 }; 69 69 public JLabel conLabel; 70 public JComboBox conBox; 70 public JComboBox<String> conBox; 71 71 public EnumMap<Con, Integer> conspicuities = new EnumMap<Con, Integer>(Con.class); 72 72 private ActionListener alCon = new ActionListener() { … … 80 80 }; 81 81 public JLabel reflLabel; 82 public JComboBox reflBox; 82 public JComboBox<String> reflBox; 83 83 public EnumMap<Con, Integer> reflectivities = new EnumMap<Con, Integer>(Con.class); 84 84 private ActionListener alRefl = new ActionListener() { … … 235 235 statusLabel.setBounds(new Rectangle(250, 0, 100, 20)); 236 236 add(statusLabel); 237 statusBox = new JComboBox(); 237 statusBox = new JComboBox<>(); 238 238 statusBox.setBounds(new Rectangle(250, 20, 100, 20)); 239 239 addStsItem("", Sts.UNKSTS); … … 262 262 constrLabel.setBounds(new Rectangle(250, 40, 100, 20)); 263 263 add(constrLabel); 264 constrBox = new JComboBox(); 264 constrBox = new JComboBox<>(); 265 265 constrBox.setBounds(new Rectangle(250, 60, 100, 20)); 266 266 addCnsItem("", Cns.UNKCNS); … … 280 280 conLabel.setBounds(new Rectangle(250, 80, 100, 20)); 281 281 add(conLabel); 282 conBox = new JComboBox(); 282 conBox = new JComboBox<>(); 283 283 conBox.setBounds(new Rectangle(250, 100, 100, 20)); 284 284 addConItem("", Con.UNKCON); … … 291 291 reflLabel.setBounds(new Rectangle(250, 120, 100, 20)); 292 292 add(reflLabel); 293 reflBox = new JComboBox(); 293 reflBox = new JComboBox<>(); 294 294 reflBox.setBounds(new Rectangle(250, 140, 100, 20)); 295 295 addReflItem("", Con.UNKCON); … … 361 361 return button; 362 362 } 363 364 363 }
Note:
See TracChangeset
for help on using the changeset viewer.