jQuery in Action, 2nd edition*
The moose likes Swing / AWT / SWT and the fly likes how to put a background image with swing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "how to put a background image with swing" Watch "how to put a background image with swing" New topic
Author

how to put a background image with swing

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
hi all,

i want to put a background image and display buttons on them.
kindly guide with small code..

regards
srijan
deekasha gunwant
Ranch Hand

Joined: May 06, 2000
Posts: 396
Hi srijan,
here is the code.

regards
deekasha
Geoffrey Falk
Ranch Hand

Joined: Aug 17, 2001
Posts: 171
    
    1
Thanks. Is there any way to do this using pure AWT (not Swing)?

Geoffrey


Sun Certified Programmer for the Java 2 Platform
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
try this

Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17250
    
    6

"Srijan"-
Welcome to the JavaRanch! Please adjust your displayed name to meet the

JavaRanch Naming Policy.

You can change it

here.

Thanks! and welcome to the JavaRanch!

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
Consider Paul's rocket mass heater.
 
subject: how to put a background image with swing