File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes Image in JFrame ??? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Image in JFrame ???" Watch "Image in JFrame ???" New topic

Image in JFrame ???

sachin sharma

Joined: Sep 27, 2001
Posts: 7
how can i call the image into my frame.
Matt Hansen
Ranch Hand

Joined: Jul 31, 2001
Posts: 34
You can try this:
sachin sharma

Joined: Sep 27, 2001
Posts: 7
dear matt,
thanks for your reply.
i try this. but it can't work
would please give me detailed coading.
with thanks
Shay Gaghe
Ranch Hand

Joined: Sep 03, 2001
Posts: 102
have you put the image.gif in the same directory where your project placed? if no you should.
instead of:
Shay Gage:

[This message has been edited by Shay Gaghe (edited October 08, 2001).]
I agree. Here's the link:
subject: Image in JFrame ???
It's not a secret anymore!