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

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "JFrame bits and bobs" Watch "JFrame bits and bobs" New topic

JFrame bits and bobs

James MacDonald-Fawcett

Joined: Nov 17, 2003
Posts: 4
Hi y'all!
Can anyone tell me how to add an image into a JFrame. I have a so far i have

But can not think what to do, tried c.addImage but to no avail! Can anyone help please
Joe Ess

Joined: Oct 29, 2001
Posts: 8708

The Swing Trail of the Java Tutorial has some examples which may help.

"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
I agree. Here's the link:
subject: JFrame bits and bobs
Similar Threads
The system does not exit on closing the JFrame[very urgent]
JTable in a JTabbed panel
is it a single thread or multiple thread for different jframe
save information to a text file
Merge Cells of Jtable