[thelist] Java: JLabel's background color

Kevin W null at tsn.cc
Sun Jan 12 02:16:01 CST 2003


> 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 :-)



More information about the thelist mailing list