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

[Nimbus] Code to globally set slider's thumb background doesn't work as specified

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 7
    • 7
    • client-libs
    • None
    • b84
    • x86
    • linux_ubuntu

    Backports

      Description

        Attached is the example. This little example is a modification of a demo written by Jasper Potts. It shows two problems:

        1. UIManager.put() is supposed to work, but I had to use UIManager.getLookAndFeelDefaults().put, even though I had already set the L&F.

        2. In order to the get background painter for the thumb to work, I couldn't just set the Slider:SliderThumb.background property (as specified), I had to set the seven keys for the background states.

        See the example for more info.

        Attachments

          Issue Links

            Activity

              People

                peterz Peter Zhelezniakov
                sharonz Sharon Zakhour (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: