my dog learned polymorphism
The moose likes Applets and the fly likes Background Color Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "Background Color" Watch "Background Color" New topic

Background Color

Hugh Savoie

Joined: Oct 16, 2001
Posts: 14
How/can I make an applet background transparent?
Marilyn de Queiroz

Joined: Jul 22, 2000
Posts: 9059
Is it an Applet or a JApplet? Only lightweight components can be transparent. All of the "heavyweight" AWT components are opaque.

"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
John Zukowski
Ranch Hand

Joined: Mar 29, 2001
Posts: 88
You can't.
John Zukowski Author of "Definitive Guide to Swing for Java 2" and "Java Collections"

John Zukowski Author of <a href="" target="_blank" rel="nofollow">"Definitive Guide to Swing for Java 2"</a>,<br /><a href="" target="_blank" rel="nofollow">"Java Collections"</a> and <a href="" target="_blank" rel="nofollow">"Learn Java with JBuilder 6"</a>
I agree. Here's the link:
subject: Background Color
It's not a secret anymore!