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

Slider in JColorChooser's HSB tab is not visible under certain circumstances

XMLWordPrintable

      Looks like JColorChooser doesn't work quite well along with JInternalFrame(s). In a MDI program, if there's already a JInternalFrame open, "HSB" slider of JColorChooser contained in subsequent JInternalFrame is not visible.

      Test case:

      The attached (ColorChooserDemo.java) is a demo that can be used to reproduce the bug.

      <<ColorChooserDemo.java>>

      Steps:
      1) Compile the attached source code using J2SDK 1.4.2_07 on the above-mentioned OS and Hardware.
      2) Run the program using JRE 1.4.2_07.
      3) Click File -> New Frame ...
      4) Click File -> New ColorChooser Frame ...
      5) Switch to the "HSB" Tab

      Expected result:
      The slider should be visible.

      Actual result:
      The slider is not visible.

      On further refresh the slider is visible. Also the version 1.5.0_02 works fine and the bug doesnt show up there.
      ###@###.### 2005-05-19 21:09:00 GMT

            shickeysunw Shannon Hickey (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: