Inside a signed jar. Icon loaded with SwingResource appears to be corrupted.
The patch to correct this must be applied on the getImage method. The inpust stream must be a bufferedinputstream
example for getImage(Class clazz, String path)
public static Image getImage(Class clazz, String path) {
String key = clazz.getName() + "|" + path;
Image image = (Image) m_ClassImageMap.get(key);
if (image == null) {
if ((path.length() > 0) && (path.charAt(0) == '/')) {
String newPath = path.substring(1, path.length());
image = getImage(new BufferedInputStream(clazz.getClassLoader().getResourceAsStream(newPath)));
} else {
image = getImage(clazz.getResourceAsStream(path));
}
m_ClassImageMap.put(key, image);
}
return image;
}
hope it will help