Changeset 19363 in osm for applications
- Timestamp:
- 2010-01-10T14:05:21+01:00 (15 years ago)
- Location:
- applications/editors/josm/plugins/openstreetbugs
- Files:
-
- 2 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/OsbPlugin.java
r19361 r19363 48 48 import org.openstreetmap.josm.plugins.osb.api.DownloadAction; 49 49 import org.openstreetmap.josm.plugins.osb.gui.OsbDialog; 50 import org.openstreetmap.josm.tools.ImageProvider; 50 51 51 52 /** … … 210 211 211 212 public static ImageIcon loadIcon(String name) { 212 URL url = OsbPlugin.class.getResource("/images/".concat(name)); 213 if(url != null) { 214 return new ImageIcon(url); 215 } else { 216 return new ImageIcon(); 217 } 213 return ImageProvider.get(name); 218 214 } 219 215
Note:
See TracChangeset
for help on using the changeset viewer.