Changeset 30532 in osm for applications/editors/josm/plugins/smed/src/panels/PanelLights.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/PanelLights.java
r29894 r30532 18 18 public JLabel categoryLabel; 19 19 20 public JComboBox landCatBox;20 public JComboBox<String> landCatBox; 21 21 public EnumMap<Cat, Integer> landCats = new EnumMap<Cat, Integer>(Cat.class); 22 22 private ActionListener alLandCatBox = new ActionListener() { … … 31 31 } 32 32 }; 33 public JComboBox trafficCatBox;33 public JComboBox<String> trafficCatBox; 34 34 public EnumMap<Cat, Integer> trafficCats = new EnumMap<Cat, Integer>(Cat.class); 35 35 private ActionListener alTrafficCatBox = new ActionListener() { … … 44 44 } 45 45 }; 46 public JComboBox warningCatBox;46 public JComboBox<String> warningCatBox; 47 47 public EnumMap<Cat, Integer> warningCats = new EnumMap<Cat, Integer>(Cat.class); 48 48 private ActionListener alWarningCatBox = new ActionListener() { … … 57 57 } 58 58 }; 59 public JComboBox platformCatBox;59 public JComboBox<String> platformCatBox; 60 60 public EnumMap<Cat, Integer> platformCats = new EnumMap<Cat, Integer>(Cat.class); 61 61 private ActionListener alPlatformCatBox = new ActionListener() { … … 70 70 } 71 71 }; 72 public JComboBox pilotCatBox;72 public JComboBox<String> pilotCatBox; 73 73 public EnumMap<Cat, Integer> pilotCats = new EnumMap<Cat, Integer>(Cat.class); 74 74 private ActionListener alPilotCatBox = new ActionListener() { … … 83 83 } 84 84 }; 85 public JComboBox rescueCatBox;85 public JComboBox<String> rescueCatBox; 86 86 public EnumMap<Cat, Integer> rescueCats = new EnumMap<Cat, Integer>(Cat.class); 87 87 private ActionListener alRescueCatBox = new ActionListener() { … … 96 96 } 97 97 }; 98 public JComboBox radioCatBox;98 public JComboBox<String> radioCatBox; 99 99 public EnumMap<Cat, Integer> radioCats = new EnumMap<Cat, Integer>(Cat.class); 100 100 private ActionListener alRadioCatBox = new ActionListener() { … … 109 109 } 110 110 }; 111 public JComboBox radarCatBox;111 public JComboBox<String> radarCatBox; 112 112 public EnumMap<Cat, Integer> radarCats = new EnumMap<Cat, Integer>(Cat.class); 113 113 private ActionListener alRadarCatBox = new ActionListener() { … … 123 123 }; 124 124 public JLabel functionLabel; 125 public JComboBox functionBox;125 public JComboBox<String> functionBox; 126 126 public EnumMap<Fnc, Integer> functions = new EnumMap<Fnc, Integer>(Fnc.class); 127 127 private ActionListener alfunctionBox = new ActionListener() { … … 261 261 functionLabel.setVisible(false); 262 262 263 functionBox = new JComboBox ();263 functionBox = new JComboBox<>(); 264 264 functionBox.setBounds(new Rectangle(5, 110, 160, 18)); 265 265 add(functionBox); … … 281 281 categoryLabel.setVisible(false); 282 282 283 landCatBox = new JComboBox ();283 landCatBox = new JComboBox<>(); 284 284 landCatBox.setBounds(new Rectangle(5, 142, 160, 18)); 285 285 add(landCatBox); … … 308 308 landCatBox.setVisible(false); 309 309 310 trafficCatBox = new JComboBox ();310 trafficCatBox = new JComboBox<>(); 311 311 trafficCatBox.setBounds(new Rectangle(5, 140, 160, 20)); 312 312 add(trafficCatBox); … … 325 325 trafficCatBox.setVisible(false); 326 326 327 warningCatBox = new JComboBox ();327 warningCatBox = new JComboBox<>(); 328 328 warningCatBox.setBounds(new Rectangle(5, 140, 160, 20)); 329 329 add(warningCatBox); … … 347 347 warningCatBox.setVisible(false); 348 348 349 platformCatBox = new JComboBox ();349 platformCatBox = new JComboBox<>(); 350 350 platformCatBox.setBounds(new Rectangle(5, 140, 160, 20)); 351 351 add(platformCatBox); … … 364 364 platformCatBox.setVisible(false); 365 365 366 pilotCatBox = new JComboBox ();366 pilotCatBox = new JComboBox<>(); 367 367 pilotCatBox.setBounds(new Rectangle(5, 140, 160, 20)); 368 368 add(pilotCatBox); … … 374 374 pilotCatBox.setVisible(false); 375 375 376 rescueCatBox = new JComboBox ();376 rescueCatBox = new JComboBox<>(); 377 377 rescueCatBox.setBounds(new Rectangle(5, 140, 160, 20)); 378 378 add(rescueCatBox); … … 391 391 rescueCatBox.setVisible(false); 392 392 393 radioCatBox = new JComboBox ();393 radioCatBox = new JComboBox<>(); 394 394 radioCatBox.setBounds(new Rectangle(5, 140, 160, 20)); 395 395 add(radioCatBox); … … 429 429 radioCatBox.setVisible(false); 430 430 431 radarCatBox = new JComboBox ();431 radarCatBox = new JComboBox<>(); 432 432 radarCatBox.setBounds(new Rectangle(5, 140, 160, 20)); 433 433 add(radarCatBox);
Note:
See TracChangeset
for help on using the changeset viewer.