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

JColorChooser HSB pane throws java.lang.InterruptedException

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.3.0
    • Fix Version/s: None
    • Component/s: client-libs

      Description



      Name: ssT124754 Date: 02/20/2001


      java version "1.3.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
      Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)

      Applet:
      ========================================================================
      import javax.swing.*;
      import javax.swing.colorchooser.*;
      import javax.swing.event.*;
      import java.awt.*;

      public class Test extends JApplet {
      JColorChooser chooser = new JColorChooser();
      ColorSelectionModel model = chooser.getSelectionModel();

      public void init() {
      getContentPane().add(chooser, BorderLayout.CENTER);

      model.addChangeListener(new ChangeListener() {
      public void stateChanged(ChangeEvent e) {
      showStatus("Color: " + chooser.getColor());
      }
      });
      }
      }
      ========================================================================



      HTML for this applet
      ===============================================
      <title>Test</title>
      <hr>
      <applet code="Test.class" width=450 height=350>
      </applet>
      <hr>
      ===============================================



      Steps:

      1. Run this apllet in appletviewer.

      2. Click on HSB Tab Page.

      3. Close the applet.

      You will get java.lang.InterruptedException.




      Note:

      If you something else in addition to selecting the HSB Tab Page you can get
      several such exceptions.
      (Review ID: 117191)
      ======================================================================

        Attachments

          Activity

            People

            • Assignee:
              apikalev Andrey Pikalev
              Reporter:
              ssultanasunw Shaheen Sultana (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: