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

Moving of color choose slider in HSB pane of JColorChooser makes no effect

XMLWordPrintable

    • rc2
    • x86
    • linux
    • Verified



      Name: kaC94536 Date: 11/19/99



      Java 2 Platform SE v1.3 specification reads:

      ...
      JColorChooser provides a pane of controls designed to allow a user to
      manipulate and select a color.
      ...

      The following test creates a JColorChooser instance in Frame container.
      If you choose HSB pane and try to resize frame
      you will see HSB part of color chooser.Trying to move Slider up and down
      makes no effect - left panel with colors doesn't change.

      This bug affects api/javax_swing/interactive/JColorChooserTests.html JCK
      test.

      ----------------------------- test.java ------------------------
      import java.awt.Frame;
      import javax.swing.JColorChooser;

      public class Test {
         static Frame testFrame = null;
         static JColorChooser chooser = null;

         public static void main( String[] argv ) {
              testFrame= new Frame();
              chooser= new JColorChooser();

              testFrame.add(chooser);
              testFrame.setSize(200,400);
              testFrame.setVisible(true);
         }
      }
      ======================================================================

      ======================================================================

            mdavidsosunw Mark Davidson (Inactive)
            kanisimosunw Konstantin Anisimov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: