Changeset 19361 in osm for applications/editors/josm
- Timestamp:
 - 2010-01-10T12:39:40+01:00 (16 years ago)
 - File:
 - 
      
- 1 edited
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/OsbPlugin.java
r19282 r19361 211 211 public static ImageIcon loadIcon(String name) { 212 212 URL url = OsbPlugin.class.getResource("/images/".concat(name)); 213 return new ImageIcon(url); 213 if(url != null) { 214 return new ImageIcon(url); 215 } else { 216 return new ImageIcon(); 217 } 214 218 } 215 219  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  