Changeset 7001 in josm for trunk/src/org/openstreetmap/josm/gui/preferences/plugin
- Timestamp:
- 2014-04-26T03:53:35+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/plugin/PluginPreference.java
r6797 r7001 491 491 private static class PluginConfigurationSitesPanel extends JPanel { 492 492 493 private DefaultListModel model;493 private DefaultListModel<String> model; 494 494 495 495 protected final void build() { 496 496 setLayout(new GridBagLayout()); 497 497 add(new JLabel(tr("Add JOSM Plugin description URL.")), GBC.eol()); 498 model = new DefaultListModel ();498 model = new DefaultListModel<String>(); 499 499 for (String s : Main.pref.getPluginSites()) { 500 500 model.addElement(s); 501 501 } 502 final JList list = new JList(model);502 final JList<String> list = new JList<String>(model); 503 503 add(new JScrollPane(list), GBC.std().fill()); 504 504 JPanel buttons = new JPanel(new GridBagLayout());
Note:
See TracChangeset
for help on using the changeset viewer.