Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4081409

running applets won't update when the system color changes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.1.3
    • client-libs
    • None
    • x86
    • windows_nt



      Name: diC59631 Date: 09/24/97


      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.
      company - UCSD , email - ###@###.###
      ======================================================================

            xdengsunw Xianfa Deng (Inactive)
            dindrigo Daniel Indrigo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: