Changeset 6901 in josm for trunk/src/org/openstreetmap/josm/command
- Timestamp:
- 2014-03-07T11:35:00+01:00 (11 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/command
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/command/Command.java
r6883 r6901 10 10 import java.util.Map.Entry; 11 11 12 import javax.swing.JLabel;13 12 import javax.swing.JOptionPane; 14 13 import javax.swing.JPanel; … … 26 25 import org.openstreetmap.josm.gui.layer.Layer; 27 26 import org.openstreetmap.josm.gui.layer.OsmDataLayer; 27 import org.openstreetmap.josm.gui.widgets.JMultilineLabel; 28 28 import org.openstreetmap.josm.tools.CheckParameterUtil; 29 29 … … 210 210 if (outside) { 211 211 JPanel msg = new JPanel(new GridBagLayout()); 212 msg.add(new JLabel("<html>" + outsideDialogMessage + "</html>")); 212 msg.add(new JMultilineLabel("<html>" + outsideDialogMessage + "</html>")); 213 213 boolean answer = ConditionalOptionPaneUtil.showConfirmationDialog( 214 214 operation + "_outside_nodes", … … 224 224 if (incomplete) { 225 225 JPanel msg = new JPanel(new GridBagLayout()); 226 msg.add(new JLabel("<html>" + incompleteDialogMessage + "</html>")); 226 msg.add(new JMultilineLabel("<html>" + incompleteDialogMessage + "</html>")); 227 227 boolean answer = ConditionalOptionPaneUtil.showConfirmationDialog( 228 228 operation + "_incomplete", -
trunk/src/org/openstreetmap/josm/command/DeleteCommand.java
r6881 r6901 20 20 21 21 import javax.swing.Icon; 22 import javax.swing.JLabel;23 22 import javax.swing.JOptionPane; 24 23 import javax.swing.JPanel; … … 38 37 import org.openstreetmap.josm.gui.actionsupport.DeleteFromRelationConfirmationDialog; 39 38 import org.openstreetmap.josm.gui.layer.OsmDataLayer; 39 import org.openstreetmap.josm.gui.widgets.JMultilineLabel; 40 40 import org.openstreetmap.josm.tools.CheckParameterUtil; 41 41 import org.openstreetmap.josm.tools.ImageProvider; … … 464 464 private static boolean confirmRelationDeletion(Collection<Relation> relations) { 465 465 JPanel msg = new JPanel(new GridBagLayout()); 466 msg.add(new JLabel("<html>" + trn( 466 msg.add(new JMultilineLabel("<html>" + trn( 467 467 "You are about to delete {0} relation: {1}" 468 468 + "<br/>"
Note:
See TracChangeset
for help on using the changeset viewer.