Changeset 12280 in josm
- Timestamp:
- 2017-05-30T18:49:42+02:00 (8 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/NoteInputDialog.java
r12279 r12280 56 56 contentPanel.add(scrollPane); 57 57 setContent(contentPanel, false); 58 setButtonIcons(icon, ImageProvider.get("cancel .png"));58 setButtonIcons(icon, ImageProvider.get("cancel")); 59 59 60 60 showDialog(); -
trunk/src/org/openstreetmap/josm/gui/preferences/advanced/AbstractListEditor.java
r12279 r12280 31 31 super(parent, title, tr("OK"), tr("Cancel")); 32 32 this.entry = entry; 33 setButtonIcons("ok .png", "cancel.png");33 setButtonIcons("ok", "cancel"); 34 34 setRememberWindowGeometry(getClass().getName() + ".geometry", WindowGeometry.centerInWindow(parent, new Dimension(500, 350))); 35 35 } -
trunk/src/org/openstreetmap/josm/gui/preferences/advanced/PreferencesTable.java
r12279 r12280 221 221 private static boolean askAddSetting(JComponent gui, JPanel p) { 222 222 return new ExtendedDialog(gui, tr("Add setting"), tr("OK"), tr("Cancel")) 223 .setContent(p).setButtonIcons("ok .png", "cancel.png").showDialog().getValue() == 1;223 .setContent(p).setButtonIcons("ok", "cancel").showDialog().getValue() == 1; 224 224 } 225 225 -
trunk/src/org/openstreetmap/josm/gui/preferences/projection/LambertCC9ZonesProjectionChoice.java
r12223 r12280 44 44 LambertCC9CBPanel(String[] entries, int initialIndex, String label, ActionListener listener) { 45 45 super(entries, initialIndex, label, listener); 46 this.add(new JLabel(ImageProvider.get("data/projection", "LambertCC9Zones .png")), GBC.eol().fill(GBC.HORIZONTAL));46 this.add(new JLabel(ImageProvider.get("data/projection", "LambertCC9Zones")), GBC.eol().fill(GBC.HORIZONTAL)); 47 47 this.add(GBC.glue(1, 1), GBC.eol().fill(GBC.BOTH)); 48 48 } -
trunk/src/org/openstreetmap/josm/gui/preferences/projection/LambertProjectionChoice.java
r12223 r12280 39 39 LambertCBPanel(String[] entries, int initialIndex, String label, ActionListener listener) { 40 40 super(entries, initialIndex, label, listener); 41 this.add(new JLabel(ImageProvider.get("data/projection", "Departements_Lambert4Zones .png")), GBC.eol().fill(GBC.HORIZONTAL));41 this.add(new JLabel(ImageProvider.get("data/projection", "Departements_Lambert4Zones")), GBC.eol().fill(GBC.HORIZONTAL)); 42 42 this.add(GBC.glue(1, 1), GBC.eol().fill(GBC.BOTH)); 43 43 }
Note:
See TracChangeset
for help on using the changeset viewer.