JLabel extends JComponent so you can call

myLabel.setOpaque(false);

to make it transparent.


----- Original Message -----
From: "vajira wijayanayake" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 04, 2002 5:22 AM
Subject: [JAVA2D]


> Hello All,
> I want to make jlabel transparent.is it possible?i want to make a gui with
> image objects and JLabels and JButtons etc...First i want to paint Image
on
> the JComponen.Up on that i want to draw the JLabel but the image should be
> visible through JLable(something like JLabel  transparent) How can i do
this
> plese give me coding level help
> Thanks all
> vajira
>
> _________________________________________________________________
> Chat with friends online, try MSN Messenger: http://messenger.msn.com
>
>
===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff JAVA2D-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to