Index: /applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/OsbPlugin.java
===================================================================
--- /applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/OsbPlugin.java	(revision 19362)
+++ /applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/OsbPlugin.java	(revision 19363)
@@ -48,4 +48,5 @@
 import org.openstreetmap.josm.plugins.osb.api.DownloadAction;
 import org.openstreetmap.josm.plugins.osb.gui.OsbDialog;
+import org.openstreetmap.josm.tools.ImageProvider;
 
 /**
@@ -210,10 +211,5 @@
 
     public static ImageIcon loadIcon(String name) {
-        URL url = OsbPlugin.class.getResource("/images/".concat(name));
-        if(url != null) {
-            return new ImageIcon(url);
-        } else  {
-            return new ImageIcon();
-        }
+        return ImageProvider.get(name);
     }
 
