Changeset 2017 in josm for trunk/src/org/openstreetmap/josm/tools/Shortcut.java
- Timestamp:
- 30.08.2009 19:07:24 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/Shortcut.java
r1865 r2017 3 3 4 4 import static org.openstreetmap.josm.tools.I18n.tr; 5 import org.openstreetmap.josm.Main;6 import org.openstreetmap.josm.gui.OptionPaneUtil;7 5 8 6 import java.awt.event.KeyEvent; 7 import java.util.Collection; 9 8 import java.util.HashMap; 10 9 import java.util.LinkedHashMap; 11 10 import java.util.Map; 12 import java.util.Collection; 11 13 12 import javax.swing.AbstractButton; 14 import javax.swing.KeyStroke;15 13 import javax.swing.JMenu; 16 14 import javax.swing.JOptionPane; 15 import javax.swing.KeyStroke; 16 17 import org.openstreetmap.josm.Main; 17 18 18 19 /** … … 444 445 // a lengthy warning message 445 446 private static void displayWarning(Shortcut conflictsWith, Shortcut potentialShortcut, String shortText, String longText) { 446 OptionPaneUtil.showMessageDialog(Main.parent,447 JOptionPane.showMessageDialog(Main.parent, 447 448 tr("Setting the keyboard shortcut ''{0}'' for the action ''{1}'' ({2}) failed\n"+ 448 449 "because the shortcut is already taken by the action ''{3}'' ({4}).\n\n",
Note: See TracChangeset
for help on using the changeset viewer.
