Changeset 15853 in josm
- Timestamp:
- 2020-02-15T11:24:30+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/bbox/JosmMapViewer.java
r15145 r15853 1 1 // License: GPL. For details, see LICENSE file. 2 2 package org.openstreetmap.josm.gui.bbox; 3 4 import static org.openstreetmap.josm.tools.I18n.tr;5 3 6 4 import java.util.ArrayList; … … 27 25 import org.openstreetmap.josm.data.preferences.StringProperty; 28 26 import org.openstreetmap.josm.gui.MainApplication; 27 import org.openstreetmap.josm.gui.Notification; 29 28 import org.openstreetmap.josm.gui.layer.AbstractCachedTileSourceLayer; 30 29 import org.openstreetmap.josm.gui.layer.ImageryLayer; … … 76 75 } 77 76 } catch (IllegalArgumentException ex) { 78 Logging.warn(ex); 77 Logging.trace(ex); 78 Logging.warn(ex.getMessage()); 79 79 if (ex.getMessage() != null && !ex.getMessage().isEmpty()) { 80 JOptionPane.showMessageDialog(MainApplication.getMainFrame(), 81 ex.getMessage(), tr("Warning"), 82 JOptionPane.WARNING_MESSAGE); 80 new Notification(ex.getMessage()).setIcon(JOptionPane.WARNING_MESSAGE).show(); 83 81 } 84 82 }
Note:
See TracChangeset
for help on using the changeset viewer.