Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 4081409
Votes 0
Synopsis running applets won't update when the system color changes
Category java:classes_awt
Reported Against 1.1.3
Release Fixed
State 11-Closed, duplicate of 4060323, bug
Priority: 4-Low
Related Bugs 4060323
Submit Date 24-SEP-1997
Description




Let's say I create a component that sets its background
to the system color:

public class myComponent extends Component
{
   ...
   public myComponent()
   {
      ...
      setBackground( SystemColor.window );
      ...
   }
}

If an applet that uses myComponent is started and then
the system color of a window is changed to some other
value (vie the Control Panel), the component's background 
won't change untill the applet is restarted.

======================================================================
Work Around





======================================================================
Evaluation
N/A
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang