Ignore:
Timestamp:
2009-07-28T19:48:39+02:00 (15 years ago)
Author:
Gubaer
Message:

replaced JOptionPane.show* by OptionPaneUtil.show*
ExtendeDialog now always on top, too

File:
1 edited

Legend:

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

    r1847 r1865  
    8787                    return;
    8888                }
    89                 tempBookmark.name = JOptionPane.showInputDialog(Main.parent,tr("Please enter a name for the location."));
     89                tempBookmark.name = OptionPaneUtil.showInputDialog(
     90                        Main.parent,tr("Please enter a name for the location."),
     91                        tr("Name of location"),
     92                        JOptionPane.QUESTION_MESSAGE
     93                );
    9094                if (tempBookmark.name != null && !tempBookmark.name.equals("")) {
    9195                    ((DefaultListModel)bookmarks.getModel()).addElement(tempBookmark);
Note: See TracChangeset for help on using the changeset viewer.