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

Nimbus LAF : Background color of the Jlist changed to default color when the focus is gained

XMLWordPrintable

      I am changing the background of the color of the jlist, by selecting the color from the color chooser. I can see the jlist background color is changed. But when i click on any item in the list the background color of the list changes to default color(white).

      Step to reproduce:
      -------------------
      1) Run the attached program.
      2) Click on the 'BackGround' button. Select any color of your choice from the color chooser.
       Observe that the selected color is applied to the list background.
      3) click inside the list to selected or if focus is on the 'Background' button. press SHIFT + TAB, to move the focus to the list. Observe that applied background color is changed to default color(white) . If you see the same then the bug is reproduced.

            jasper Jasper Potts (Inactive)
            lpremkumsunw Lawrence Premkumar1 (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: