JDK-7035061 : Plugin should set transparent background to applets detached from webpages
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 7
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2011-04-08
  • Updated: 2013-09-12
  • Resolved: 2011-05-16
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7
7 b139Fixed
Related Reports
Relates :  
Description
The Plugin2 allows a user to detach applets from webpages. Also, it provides some API to let applets make their detached window translucent. This works fine on MS Windows. However, on X11 this requires one additional step: the applet's background must be set to a transparent color:

applet.setBackground(new Color(0, 0, 0, 0));

See a corresponding bug in an AWT test that's been fixed this way: 7008513.

Comments
EVALUATION Added applet.setBackground(new Color(0, 0, 0, 0)) in AWTDragHelper.
14-04-2011