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/tools/Shortcut.java

    r1865 r2017  
    33 
    44import static org.openstreetmap.josm.tools.I18n.tr; 
    5 import org.openstreetmap.josm.Main; 
    6 import org.openstreetmap.josm.gui.OptionPaneUtil; 
    75 
    86import java.awt.event.KeyEvent; 
     7import java.util.Collection; 
    98import java.util.HashMap; 
    109import java.util.LinkedHashMap; 
    1110import java.util.Map; 
    12 import java.util.Collection; 
     11 
    1312import javax.swing.AbstractButton; 
    14 import javax.swing.KeyStroke; 
    1513import javax.swing.JMenu; 
    1614import javax.swing.JOptionPane; 
     15import javax.swing.KeyStroke; 
     16 
     17import org.openstreetmap.josm.Main; 
    1718 
    1819/** 
     
    444445    // a lengthy warning message 
    445446    private static void displayWarning(Shortcut conflictsWith, Shortcut potentialShortcut, String shortText, String longText) { 
    446         OptionPaneUtil.showMessageDialog(Main.parent, 
     447        JOptionPane.showMessageDialog(Main.parent, 
    447448                tr("Setting the keyboard shortcut ''{0}'' for the action ''{1}'' ({2}) failed\n"+ 
    448449                        "because the shortcut is already taken by the action ''{3}'' ({4}).\n\n", 
Note: See TracChangeset for help on using the changeset viewer.