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/MoveAction.java

    r1820 r1847  
    1717import org.openstreetmap.josm.data.osm.OsmPrimitive;
    1818import org.openstreetmap.josm.data.osm.visitor.AllNodesVisitor;
     19import org.openstreetmap.josm.gui.OptionPaneUtil;
    1920import org.openstreetmap.josm.tools.Shortcut;
    2021
     
    102103                // Revert move
    103104                ((MoveCommand) c).moveAgain(-distx, -disty);
    104                 JOptionPane.showMessageDialog(Main.parent,
    105                         tr("Cannot move objects outside of the world."));
     105                OptionPaneUtil.showMessageDialog(
     106                        Main.parent,
     107                        tr("Cannot move objects outside of the world."),
     108                        tr("Warning"),
     109                        JOptionPane.WARNING_MESSAGE
     110                );
    106111                return;
    107112            }
Note: See TracChangeset for help on using the changeset viewer.