A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
JavaRanch
»
Java Forums
»
Java
»
Swing / AWT / SWT
Author
Jframe
Sourav Sharma
Greenhorn
Joined: Feb 18, 2012
Posts: 1
posted
Mar 30, 2012 21:47:28
0
How to add image in a Jframe???
Michael Dunn
Ranch Hand
Joined: Jun 09, 2003
Posts: 4632
posted
Mar 30, 2012 22:23:47
0
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
I agree. Here's the link:
http://aspose.com/file-tools
subject: Jframe
Similar Threads
how to invoke FileDialog from a dialog?
why no default close button in JDialog
painting problems
How to display JFrame with orientation Right_To_Left in Windows 7 64bit..?
NetBeans IDE 5.5
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter