Ignore:
Timestamp:
2009-08-30T19:07:24+02:00 (17 years ago)
Author:
Gubaer
Message:

removed OptionPaneUtil
cleanup of deprecated Layer API
cleanup of deprecated APIs in OsmPrimitive and Way
cleanup of imports

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/GpxExporter.java

    r1949 r2017  
    3030import org.openstreetmap.josm.data.osm.DataSet;
    3131import org.openstreetmap.josm.gui.ExtendedDialog;
    32 import org.openstreetmap.josm.gui.OptionPaneUtil;
    3332import org.openstreetmap.josm.gui.layer.GpxLayer;
    3433import org.openstreetmap.josm.gui.layer.Layer;
     
    169168        } catch (IOException x) {
    170169            x.printStackTrace();
    171             OptionPaneUtil.showMessageDialog(Main.parent, tr("Error while exporting {0}:\n{1}", fn, x.getMessage()),
     170            JOptionPane.showMessageDialog(Main.parent, tr("Error while exporting {0}:\n{1}", fn, x.getMessage()),
    172171                    tr("Error"), JOptionPane.ERROR_MESSAGE);
    173172        }
     
    249248                l.setVisibleRowCount(4);
    250249                l.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);
    251                 int answer = OptionPaneUtil.showConfirmationDialog(
     250                int answer = JOptionPane.showConfirmDialog(
    252251                        Main.parent,
    253252                        new JScrollPane(l),
Note: See TracChangeset for help on using the changeset viewer.