[thelist] Java: JLabel's background color

David Treves dwork at macam.ac.il
Sun Jan 12 03:14:00 CST 2003


oops, you are right!  :o)

label.setOpaque(true);

but I see that you figured that by yourself already...  :o)
for general knowledge you should know that all components are not opaque by
default.

My 2 Cents,
David.


----- Original Message -----
From: "Kevin W" <null at tsn.cc>
To: <thelist at lists.evolt.org>
Sent: Sunday, January 12, 2003 10:15 AM
Subject: Re: [thelist] Java: JLabel's background color


> > add the following line before setting the backgroung color of the label:
> > label.setOpaque(false);
>
> Thanks!
>
> But I think you mean setOpaque(true).
>
> <tip type="Notes on the desktop" author="Kevin W">
> On Windows 98, you can use a HTML file as the "desktop wallpaper".  Just
> right-click > Properties > Background > Browse, and select the file.  You
> will need Active Desktop enabled.
>
> You can use this for whatever you want; probably the best use is for your
> sticky notes.  Things to remember are: you can use CSS and Javascript (to
> an extent), but it breaks when you add a doctype.
> </tip>
>
> --
> Kevin W :-)
> --
> * * Please support the community that supports you.  * *
> http://evolt.org/help_support_evolt/
>
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !




More information about the thelist mailing list