Ignore:
Timestamp:
30.08.2009 19:07:24 (3 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/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."), 
Note: See TracChangeset for help on using the changeset viewer.