Ignore:
Timestamp:
2009-07-26T22:52:23+02:00 (15 years ago)
Author:
Gubaer
Message:

replaced JOptionDialog.show... by OptionPaneUtil.show....
improved relation editor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/corrector/TagCorrector.java

    r1814 r1857  
    2929import org.openstreetmap.josm.data.osm.Way;
    3030import org.openstreetmap.josm.gui.JMultilineLabel;
     31import org.openstreetmap.josm.gui.OptionPaneUtil;
    3132import org.openstreetmap.josm.gui.PrimitiveNameFormatter;
    3233import org.openstreetmap.josm.tools.GBC;
     
    140141            }
    141142
    142             int answer = JOptionPane.showOptionDialog(Main.parent, p,
    143                     tr("Automatic tag correction"), JOptionPane.YES_NO_CANCEL_OPTION,
    144                     JOptionPane.PLAIN_MESSAGE, null,
    145                     applicationOptions, applicationOptions[0]);
     143            int answer = OptionPaneUtil.showOptionDialog(
     144                    Main.parent,
     145                    p,
     146                    tr("Automatic tag correction"),
     147                    JOptionPane.YES_NO_CANCEL_OPTION,
     148                    JOptionPane.PLAIN_MESSAGE,
     149                    applicationOptions,
     150                    applicationOptions[0]
     151            );
    146152
    147153            if (answer == JOptionPane.YES_OPTION) {
Note: See TracChangeset for help on using the changeset viewer.