Ignore:
Timestamp:
2009-07-26T22:52:23+02:00 (15 years ago)
Author:
Gubaer
Message:

replaced JOptionDialog.show... by OptionPaneUtil.show....
improved relation editor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/UploadAction.java

    r1820 r1857  
    2626import org.openstreetmap.josm.data.osm.OsmPrimitive;
    2727import org.openstreetmap.josm.gui.ExtendedDialog;
     28import org.openstreetmap.josm.gui.OptionPaneUtil;
    2829import org.openstreetmap.josm.gui.OsmPrimitivRenderer;
    2930import org.openstreetmap.josm.gui.PleaseWaitRunnable;
     
    174175        ConflictCollection conflicts = Main.map.mapView.getEditLayer().getConflicts();
    175176        if (conflicts !=null && !conflicts.isEmpty()) {
    176             JOptionPane.showMessageDialog(Main.parent,tr("There are unresolved conflicts. You have to resolve these first."));
     177            OptionPaneUtil.showMessageDialog(
     178                    Main.parent,
     179                    tr("There are unresolved conflicts. You have to resolve these first."),
     180                    tr("Warning"),
     181                    JOptionPane.WARNING_MESSAGE
     182            );
    177183            Main.map.conflictDialog.action.button.setSelected(true);
    178184            Main.map.conflictDialog.action.actionPerformed(null);
Note: See TracChangeset for help on using the changeset viewer.