aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Jframe Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Jframe" Watch "Jframe" New topic
Author

Jframe

Sourav Sharma
Greenhorn

Joined: Feb 18, 2012
Posts: 1
How to add image in a Jframe???
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
Add the image to a JLabel
add the label to a JPanel
add the panel to the JFrame.

if you're talking about adding as a background image,
see the faq on this forum's main page
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Jframe