Changeset 30532 in osm for applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/CadastreInterface.java
- Timestamp:
- 2014-07-14T04:18:06+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/CadastreInterface.java
r29801 r30532 414 414 communeList[i + 1] = listOfCommunes.elementAt(i).substring(listOfCommunes.elementAt(i).indexOf(">")+1); 415 415 } 416 JComboBox inputCommuneList = new JComboBox(communeList);416 JComboBox<String> inputCommuneList = new JComboBox<>(communeList); 417 417 p.add(inputCommuneList, GBC.eol().fill(GBC.HORIZONTAL).insets(10, 0, 0, 0)); 418 418 JOptionPane pane = new JOptionPane(p, JOptionPane.INFORMATION_MESSAGE, JOptionPane.OK_CANCEL_OPTION, null) { … … 432 432 private int selectFeuilleDialog() { 433 433 JPanel p = new JPanel(new GridBagLayout()); 434 Vector<String> ImageNames = new Vector<String>();434 Vector<String> imageNames = new Vector<String>(); 435 435 for (PlanImage src : listOfFeuilles) { 436 ImageNames.add(src.name);437 } 438 JComboBox inputFeuilleList = new JComboBox(ImageNames);436 imageNames.add(src.name); 437 } 438 JComboBox<String> inputFeuilleList = new JComboBox<>(imageNames); 439 439 p.add(inputFeuilleList, GBC.eol().fill(GBC.HORIZONTAL).insets(10, 0, 0, 0)); 440 440 JOptionPane pane = new JOptionPane(p, JOptionPane.INFORMATION_MESSAGE, JOptionPane.OK_CANCEL_OPTION, null);
Note:
See TracChangeset
for help on using the changeset viewer.