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

SwingSet2: JPanel is overlap by itself in ColorChooser demo

    XMLWordPrintable

Details

    Description

      Bug Info:
      ---------

      JPanel is overlap by itself in ColorChooser demo tab in SwingSet2 demo application ($JAVA_HOME/demo/jfc/SwingSet2/)


      JDK Info:
      ---------

      java version "1.5.0_01-ea"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_01-ea-b02)
      Java HotSpot(TM) Client VM (build 1.5.0_01-ea-b02, mixed mode, sharing)


      Steps to reproduce:
      -------------------

      1. Enter the following command in the console.

       ${JAVA_HOME}/bin/java -jar ../demo/jfc/SwingSet2/*.jar

      2. After Opening SwingSet2 demo application then click on ColorChooser demo icon.

      3. Click on any other demo icon.

      4. Maximize SwingSet2 demo window.

      5. To set focus on ColorChooser demo icon by using either arrow keys or tab key.

      6. Once place the focus on ColorChooser demo and then press space bar.

       
      Expected Behavior:
      ------------------

      The background color should occupy entire panel with four buttons.


      Actual Behavior:
      ----------------

      The background and buttons are appearing twice in a panel.


      Additional Info:
      ----------------

      The above scenario fails in all the platforms.
      ###@###.### 2004-09-22
      ###@###.### 2004-09-23

      Attachments

        Activity

          People

            alexp Alexander Potochkin (Inactive)
            vthotasunw Vinay Thota (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: