File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes Image in applet? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Image in applet?" Watch "Image in applet?" New topic

Image in applet?

Kaspar Dahlqvist
Ranch Hand

Joined: Jun 18, 2001
Posts: 128
Hi there!
I wonder if anybody knows how to show an image in an applet in explorer 5. In explorer 6 it works like a charm, but apparently the image does not show up if the applet is started in explorer 5.
The applet is supposed to create a frame, and in this frame there should be an image. I have only used AWT-components and I add the image to the frame using a specialized canvas. As I said, this works in explorer 6 but not in 5. The frame does not show up at all...
Any ideas?
Cindy Glass
"The Hood"

Joined: Sep 29, 2000
Posts: 8521
Can you show us the code that doesn't work in IE5?

"JavaRanch, where the deer and the Certified play" - David O'Meara
I agree. Here's the link:
subject: Image in applet?
It's not a secret anymore!