Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1633
  • Last Modified:

Transparent in Java Applet !!!!

Hi,

Does anybody have any idea on how to make a java applet's background to be transparent? Specifically what l have in mind is when the applet is loaded on a webpage, l would like to have the applet's background to be the webpage's background image i.e. the applet has a transparent background so that whatever the webpage's background become the applet's background image.

Thxs in advance for any advice.

Michael Chang
0
mikeckt
Asked:
mikeckt
1 Solution
 
OviCommented:
The applet is viewed by the browser such a "embed" application, so the browser create the context, stubs, ... , and the container for the applet.What you want is not possible to accomplish because of all that.
0
 
kotanCommented:
0
 
kotanCommented:
Java applets cannot be set to transparent as the underlying content is not known to the Java Virtual
      Machine (JVM). In fact, the default color is grey which is displayed while the applet is being
      loaded. The background of every menu applet can be configured by specifying either the
      background color via the "bgcolor" parameter, the background image via the "bgimage" parameter
      or a combination of both parameters.
0
 
heyhey_Commented:
just render whatever image you want as applet background
0
 
VenabiliCommented:
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

- Points for kotan

Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
Venabili
EE Cleanup Volunteer
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now