This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Applets and the fly likes Image not displayed in applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Image not displayed in applet" Watch "Image not displayed in applet" New topic
Author

Image not displayed in applet

Niamh Gill
Greenhorn

Joined: Jan 30, 2003
Posts: 8
Hello,

I am using Java 6 and IE and am attempting to display an image in an applet. I am not getting any error messages in the Java console.

This is the method used to display the image. It is part of a JPanel which is part of an Applet. The System.out just before the image is displayed "about to display image..." appears in the Java Console but the image is not being displayed in the applet. I have used the java policy tool to grant java read permission on my image directory. All images are stored locally.


I know this code has worked before (probably with Java 1.4 or Java 5). Any help greatly appreciated!

Niamh
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Image not displayed in applet