mbutu
May 8th, 2000, 01:01 AM
The following code works in JBuilder 3.5 but Explorer can't find the image. What's the problem?
The image is in the same directory as the class file.
Image image = Toolkit.getDefaultToolkit().getImage("Bulb-On.GIF");
System.out.println(image);
I have to use the Toolkit getImage method not the applets.
The image is in the same directory as the class file.
Image image = Toolkit.getDefaultToolkit().getImage("Bulb-On.GIF");
System.out.println(image);
I have to use the Toolkit getImage method not the applets.