Ignore:
Timestamp:
2009-07-25T23:44:19+02:00 (17 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/AutoScaleAction.java

    r1820 r1847  
    1616import org.openstreetmap.josm.data.osm.OsmPrimitive;
    1717import org.openstreetmap.josm.data.osm.visitor.BoundingXYVisitor;
     18import org.openstreetmap.josm.gui.OptionPaneUtil;
    1819import org.openstreetmap.josm.gui.layer.Layer;
    1920import org.openstreetmap.josm.tools.Shortcut;
     
    8687            }
    8788            if (sel.isEmpty()) {
    88                 JOptionPane.showMessageDialog(Main.parent,
    89                         mode.equals("selection") ? tr("Nothing selected to zoom to.") : tr("No conflicts to zoom to"));
     89                OptionPaneUtil.showMessageDialog(
     90                        Main.parent,
     91                        (mode.equals("selection") ? tr("Nothing selected to zoom to.") : tr("No conflicts to zoom to")),
     92                        tr("Information"),
     93                        JOptionPane.INFORMATION_MESSAGE
     94                );
    9095                return null;
    9196            }
Note: See TracChangeset for help on using the changeset viewer.