Changeset 2017 in josm for trunk/src/org/openstreetmap/josm/gui/layer/GpxLayer.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/GpxLayer.java
r1956 r2017 59 59 import org.openstreetmap.josm.gui.ConditionalOptionPaneUtil; 60 60 import org.openstreetmap.josm.gui.MapView; 61 import org.openstreetmap.josm.gui.OptionPaneUtil;62 61 import org.openstreetmap.josm.gui.dialogs.LayerListDialog; 63 62 import org.openstreetmap.josm.gui.dialogs.LayerListPopup; … … 135 134 group.setSelected(r[0].getModel(), true); 136 135 } 137 int answer = OptionPaneUtil.showConfirmationDialog(Main.parent, panel,136 int answer = JOptionPane.showConfirmDialog(Main.parent, panel, 138 137 tr("Select line drawing options"), JOptionPane.OK_CANCEL_OPTION, JOptionPane.QUESTION_MESSAGE); 139 138 switch (answer) { … … 159 158 JColorChooser c = new JColorChooser(getColor(getName())); 160 159 Object[] options = new Object[] { tr("OK"), tr("Cancel"), tr("Default") }; 161 int answer = OptionPaneUtil.showOptionDialog(160 int answer = JOptionPane.showOptionDialog( 162 161 Main.parent, 163 162 c, … … 165 164 JOptionPane.OK_CANCEL_OPTION, 166 165 JOptionPane.PLAIN_MESSAGE, 166 null, 167 167 options, options[0] 168 168 ); … … 782 782 msg.add(maxRect, GBC.eol()); 783 783 784 int ret = OptionPaneUtil.showConfirmationDialog(784 int ret = JOptionPane.showConfirmDialog( 785 785 Main.parent, 786 786 msg, … … 880 880 881 881 if (toDownload.size() > 1) { 882 ret = OptionPaneUtil.showConfirmationDialog(882 ret = JOptionPane.showConfirmDialog( 883 883 Main.parent, 884 884 msg, … … 970 970 } 971 971 if (firstTime < 0.0) { 972 OptionPaneUtil.showMessageDialog(972 JOptionPane.showMessageDialog( 973 973 Main.parent, 974 974 tr("No GPX track available in layer to associate audio with."),
Note:
See TracChangeset
for help on using the changeset viewer.