Hey,
Here is the method
protected static ImageIcon createImageIcon(
String path,
String description) {
java.net.URL imgURL = CelsiusConverter2.class.getResource(path);
if (imgURL != null) {
return new ImageIcon(imgURL, description);
} else {
System.err.println("Couldn't find file: " + path);
return null;
}
}
all it is doing is displaying an image and a bit of text. The program runs fine, apart from saying error cant not find path for image, i assume my syntax for declaring the path was incorrect. Please advise
Mark