aspose file tools
The moose likes Swing / AWT / SWT and the fly likes Image in Frame Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply Bookmark "Image in Frame" Watch "Image in Frame" New topic
Author

Image in Frame

Muhammad Aasim
Greenhorn

Joined: Oct 16, 2009
Posts: 9
How can I add an image to a frame as the background of an animation? Please show some code.

EveRy THinG is pOssiBle bUt LovE caN NaveR FOr Me...
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 8436

http://faq.javaranch.com/java/BackgroundImageOnJPanel


[Donate a pint, save a life!] [How to ask questions] [Onff-turn it on!]
pete stein
Bartender

Joined: Feb 23, 2007
Posts: 1561
Muhammad Aasim wrote:How can I add an image to a frame as the background of an animation? Please show some code.


This question has been asked many times, so many that Google will easily get you some decent answers, as well as checking the FAQ of this very section of the forums. Please feel free to come back with your code if you run into any problems. Much luck!
Muhammad Aasim
Greenhorn

Joined: Oct 16, 2009
Posts: 9
Thanks for help
i am new in this forum... very soon i will get the required sections from where get help..
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 8436

If you are new to the Ranch, please do take out time to read http://faq.javaranch.com/view especially the section on HowToAskQuestionsOnJavaRanch
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Image in Frame
 
Similar Threads
Background Image not showing
Stretch the image size.
Image in JFrame ???
Scaling an image without a Frame ?
awt