Changeset 1847 in josm for trunk/src/org/openstreetmap/josm/actions/CreateCircleAction.java
- Timestamp:
- 2009-07-25T23:44:19+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/CreateCircleAction.java
r1846 r1847 23 23 import org.openstreetmap.josm.data.osm.Way; 24 24 import org.openstreetmap.josm.data.osm.visitor.CollectBackReferencesVisitor; 25 import org.openstreetmap.josm.gui.OptionPaneUtil; 25 26 import org.openstreetmap.josm.tools.Shortcut; 26 27 … … 202 203 203 204 if (sUnder == 0) { 204 JOptionPane.showMessageDialog(Main.parent, tr("Those nodes are not in a circle.")); 205 OptionPaneUtil.showMessageDialog( 206 Main.parent, 207 tr("Those nodes are not in a circle. Aborting."), 208 tr("Warning"), 209 JOptionPane.WARNING_MESSAGE 210 ); 205 211 return; 206 212 } … … 261 267 262 268 } else { 263 JOptionPane.showMessageDialog(Main.parent, tr("Please select exactly two or three nodes or one way with exactly two or three nodes.")); 269 OptionPaneUtil.showMessageDialog( 270 Main.parent, 271 tr("Please select exactly two or three nodes or one way with exactly two or three nodes."), 272 tr("Information"), 273 JOptionPane.INFORMATION_MESSAGE 274 ); 264 275 return; 265 276 }
Note:
See TracChangeset
for help on using the changeset viewer.