Ignore:
Timestamp:
2009-08-30T19:07:24+02:00 (15 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/gui/preferences/PluginPreference.java

    r1865 r2017  
    2323
    2424import org.openstreetmap.josm.Main;
    25 import org.openstreetmap.josm.gui.OptionPaneUtil;
    2625import org.openstreetmap.josm.plugins.PluginDownloader;
    2726import org.openstreetmap.josm.plugins.PluginSelection;
     
    8887        buttons.add(new JButton(new AbstractAction(tr("Add")){
    8988            public void actionPerformed(ActionEvent e) {
    90                 String s = OptionPaneUtil.showInputDialog(
     89                String s = JOptionPane.showInputDialog(
    9190                        gui,
    9291                        tr("Add JOSM Plugin description URL."),
     
    102101            public void actionPerformed(ActionEvent e) {
    103102                if (list.getSelectedValue() == null) {
    104                     OptionPaneUtil.showMessageDialog(
     103                    JOptionPane.showMessageDialog(
    105104                            gui,
    106105                            tr("Please select an entry."),
     
    110109                    return;
    111110                }
    112                 String s = (String)OptionPaneUtil.showInputDialog(
     111                String s = (String)JOptionPane.showInputDialog(
    113112                        Main.parent,
    114113                        tr("Edit JOSM Plugin description URL."),
     
    125124            public void actionPerformed(ActionEvent event) {
    126125                if (list.getSelectedValue() == null) {
    127                     OptionPaneUtil.showMessageDialog(
     126                    JOptionPane.showMessageDialog(
    128127                            gui,
    129128                            tr("Please select an entry."),
     
    137136        }), GBC.eol().fill(GBC.HORIZONTAL));
    138137        p.add(buttons, GBC.eol());
    139         int answer = OptionPaneUtil.showConfirmationDialog(
     138        int answer = JOptionPane.showConfirmDialog(
    140139                gui,
    141140                p,
Note: See TracChangeset for help on using the changeset viewer.