my dog learned polymorphism*
The moose likes Swing / AWT / SWT and the fly likes Image in Frame 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 » Swing / AWT / SWT
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: 9990
    
    7

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


[How to ask questions] [Donate a pint, save a life!] [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: 9990
    
    7

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://aspose.com/file-tools
 
subject: Image in Frame
 
Similar Threads
awt
Image in JFrame ???
Background Image not showing
Stretch the image size.
Scaling an image without a Frame ?