Ignore:
Timestamp:
2009-07-25T23:44:19+02:00 (15 years ago)
Author:
Gubaer
Message:

replaced calls to JOptionPane.* by calls to OptionPaneUtil.*

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/DistributeAction.java

    r1820 r1847  
    1818import org.openstreetmap.josm.data.osm.OsmPrimitive;
    1919import org.openstreetmap.josm.data.osm.Way;
     20import org.openstreetmap.josm.gui.OptionPaneUtil;
    2021import org.openstreetmap.josm.tools.Shortcut;
    2122
     
    5960
    6061        if (nodes.size() < 3) {
    61             JOptionPane.showMessageDialog(Main.parent, tr("Please select at least three nodes."));
     62            OptionPaneUtil.showMessageDialog(
     63                    Main.parent,
     64                    tr("Please select at least three nodes."),
     65                    tr("Information"),
     66                    JOptionPane.INFORMATION_MESSAGE
     67            );
    6268            return;
    6369        }
Note: See TracChangeset for help on using the changeset viewer.