Changeset 1847 in josm for trunk/src/org/openstreetmap/josm/actions/CombineWayAction.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/CombineWayAction.java
r1820 r1847 37 37 import org.openstreetmap.josm.data.osm.Way; 38 38 import org.openstreetmap.josm.gui.ExtendedDialog; 39 import org.openstreetmap.josm.gui.OptionPaneUtil; 39 40 import org.openstreetmap.josm.tools.GBC; 40 41 import org.openstreetmap.josm.tools.Pair; … … 65 66 66 67 if (selectedWays.size() < 2) { 67 JOptionPane.showMessageDialog(Main.parent, tr("Please select at least two ways to combine.")); 68 OptionPaneUtil.showMessageDialog( 69 Main.parent, 70 tr("Please select at least two ways to combine."), 71 tr("Information"), 72 JOptionPane.INFORMATION_MESSAGE 73 ); 68 74 return; 69 75 } … … 152 158 nodeList = (List<Node>) secondTry; 153 159 } else { 154 JOptionPane.showMessageDialog(Main.parent, secondTry); 160 OptionPaneUtil.showMessageDialog( 161 Main.parent, 162 secondTry, // FIXME: not sure whether this fits in a dialog 163 tr("Information"), 164 JOptionPane.INFORMATION_MESSAGE 165 ); 155 166 return; 156 167 }
Note:
See TracChangeset
for help on using the changeset viewer.