Changeset 2768 in osm for applications/editors/josm/plugins/mappaint/src/mappaint/ElemStyleHandler.java
- Timestamp:
- 2007-05-05T19:38:16+02:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/mappaint/src/mappaint/ElemStyleHandler.java
r2711 r2768 104 104 curIcon = new ImageIcon(imageFile); 105 105 } else { 106 URL path = getClass().getResource("/standard/icons/"+atts.getValue(count)); 107 if (path != null ) { 106 URL path = getClass().getResource("/standard/icons/amenity.png"); 108 107 curIcon = new ImageIcon(Toolkit.getDefaultToolkit().createImage(path)); 109 } else{110 path = getClass().getResource("/standard/icons/amenity.png");111 curIcon = new ImageIcon(Toolkit.getDefaultToolkit().createImage(path));112 }113 108 } 114 109 } else if (atts.getQName(count).equals("annotate"))
Note:
See TracChangeset
for help on using the changeset viewer.