Changeset 2017 in josm for trunk/src/org/openstreetmap/josm/gui/layer/RawGpsLayer.java
- Timestamp:
- 2009-08-30T19:07:24+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/RawGpsLayer.java
r1910 r2017 41 41 import org.openstreetmap.josm.gui.ConditionalOptionPaneUtil; 42 42 import org.openstreetmap.josm.gui.MapView; 43 import org.openstreetmap.josm.gui.OptionPaneUtil;44 43 import org.openstreetmap.josm.gui.dialogs.LayerListDialog; 45 44 import org.openstreetmap.josm.gui.dialogs.LayerListPopup; … … 214 213 group.setSelected(r[0].getModel(), true); 215 214 } 216 int answer = OptionPaneUtil.showConfirmationDialog(215 int answer = JOptionPane.showConfirmDialog( 217 216 Main.parent, 218 217 panel, … … 237 236 JColorChooser c = new JColorChooser(Main.pref.getColor(marktr("gps point"), "layer "+getName(), Color.gray)); 238 237 Object[] options = new Object[]{tr("OK"), tr("Cancel"), tr("Default")}; 239 int answer = OptionPaneUtil.showOptionDialog(238 int answer = JOptionPane.showOptionDialog( 240 239 Main.parent, 241 240 c, 242 241 tr("Choose a color"), 243 242 JOptionPane.OK_CANCEL_OPTION, 244 JOptionPane.PLAIN_MESSAGE, options, options[0]);243 JOptionPane.PLAIN_MESSAGE, null,options, options[0]); 245 244 switch (answer) { 246 245 case 0:
Note:
See TracChangeset
for help on using the changeset viewer.