Override paintComponent on the JPanel or use a JLayeredPane to place a
JLabel behind your main contents.
 

Regards 

Dave Wathen 
Goldman Sachs Asset Management 
3rd Floor, Procession House 
55 Ludgate Hill 
London EC4M 7JN 
+44 (0)20-7774-2998 

It is not necessary to understand things in order to argue about them. 
(Caron de Beaumarchais) 

 

-----Original Message-----
From: Mircea Turcu [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 09, 2001 9:01 AM
To: [EMAIL PROTECTED]
Subject: Background


Hi all,
 
How can I set an image to be the background of a panel? I want to make some
skins for my program.
Thanks,
Mircea

_______________________________________________
Advanced-swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/advanced-swing

Reply via email to