|
Java™ by example!
|
|
|
How do I make an Applet background transparent?
You can't because of limitations. The browser will assign a certain area of width x height size and the applet is unable of interrogating the content of the browser to determine the background color, text or image.
One crippled workaround is to provide the background color or image dynamically with parameters in the <applet> tag. Your Applet could then set the background with setBackground or draw the image in the paint method.
Further Information
Author of answer: Joris Van den Bogaert
Comments to this answer are only viewable by members. Login or become a member!
|
|
|
|
|