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
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: 9189

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

[How To Ask Questions On JavaRanch]
I agree. Here's the link:
subject: JFrame bits and bobs
It's not a secret anymore!