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

Location:
trunk/src/org/openstreetmap/josm/gui/download
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/download/BookmarkSelection.java

    r1865 r2017  
    88import java.awt.event.ActionEvent;
    99import java.awt.event.ActionListener;
    10 import java.awt.event.MouseListener;
    1110import java.awt.event.MouseAdapter;
    1211import java.awt.event.MouseEvent;
     12import java.awt.event.MouseListener;
    1313
    1414import javax.swing.DefaultListModel;
     
    2323import org.openstreetmap.josm.data.Preferences;
    2424import org.openstreetmap.josm.gui.BookmarkList;
    25 import org.openstreetmap.josm.gui.OptionPaneUtil;
    2625import org.openstreetmap.josm.tools.GBC;
    2726
     
    7978
    8079                if (tempBookmark == null) {
    81                     OptionPaneUtil.showMessageDialog(
     80                    JOptionPane.showMessageDialog(
    8281                            Main.parent,
    8382                            tr("Please enter the desired coordinates first."),
     
    8786                    return;
    8887                }
    89                 tempBookmark.name = OptionPaneUtil.showInputDialog(
     88                tempBookmark.name = JOptionPane.showInputDialog(
    9089                        Main.parent,tr("Please enter a name for the location."),
    9190                        tr("Name of location"),
     
    104103                Object sel = bookmarks.getSelectedValue();
    105104                if (sel == null) {
    106                     OptionPaneUtil.showMessageDialog(
     105                    JOptionPane.showMessageDialog(
    107106                            Main.parent,
    108107                            tr("Select a bookmark first."),
  • trunk/src/org/openstreetmap/josm/gui/download/BoundingBoxSelection.java

    r1722 r2017  
    1717import javax.swing.JTextField;
    1818import javax.swing.SwingUtilities;
     19import javax.swing.event.DocumentEvent;
    1920import javax.swing.event.DocumentListener;
    20 import javax.swing.event.DocumentEvent;
    2121
    2222import org.openstreetmap.josm.data.Bounds;
  • trunk/src/org/openstreetmap/josm/gui/download/PlaceSelection.java

    r1857 r2017  
    3232
    3333import org.openstreetmap.josm.Main;
    34 import org.openstreetmap.josm.gui.OptionPaneUtil;
    35 import org.openstreetmap.josm.gui.download.DownloadDialog;
    36 import org.openstreetmap.josm.gui.download.DownloadSelection;
    3734import org.openstreetmap.josm.tools.GBC;
    3835import org.xml.sax.Attributes;
     
    167164                    if(searchtext.length()==0)
    168165                    {
    169                         OptionPaneUtil.showMessageDialog(
     166                        JOptionPane.showMessageDialog(
    170167                                Main.parent,
    171168                                tr("Please enter a search string"),
     
    191188                {
    192189                    x.printStackTrace();
    193                     OptionPaneUtil.showMessageDialog(
     190                    JOptionPane.showMessageDialog(
    194191                            Main.parent,
    195192                            tr("Cannot read place search results from server"),
  • trunk/src/org/openstreetmap/josm/gui/download/SlippyMapChooser.java

    r1879 r2017  
    1313import java.awt.Rectangle;
    1414import java.awt.Toolkit;
    15 import java.awt.geom.Point2D;
    1615import java.util.Vector;
    1716
Note: See TracChangeset for help on using the changeset viewer.