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

REGRESSION: Icons in JDesktopPane not repositioned when pane is resized

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      x86
    • OS:
      linux, windows_2000

      Description



      Name: sv35042 Date: 10/18/2002


      FULL PRODUCT VERSION :
      java version "1.4.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)
      Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode)

      FULL OPERATING SYSTEM VERSION :
      Microsoft Windows 2000 [Version 5.00.2195] with all service
      packs installed

      ADDITIONAL OPERATING SYSTEMS :
      Microsoft Windows NT 4.0 with SP6a installed


      A DESCRIPTION OF THE PROBLEM :
      When you minimize a JInternalFrame in a JDesktopPane, the
      frame is iconized to the lower left corner of the
      JDesktopPane. In JDK 1.3.1_01 and JDK 1.1.8+Swing 1.1.1,
      when you resize the JDesktopPane the icons would be moved
      so that they would remain in the lower left corner of the
      newly resized pane. With JDK 1.4.0, the icons are no
      longer moved and they are left dangling in the middle of
      the window if the pane was resized larger, and off the
      window if resized smaller.

      This appears to be the same issue as the second point in
      bug 4193219, which was reported as fixed in 1.2.2.
      However, I have not tested with other than JDK1.1.8+Swing
      1.1.1, JDK 1.3.1_01, and 1.4.0.

      REGRESSION. Last worked in version 1.3.1

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1. Run j2sdk1.4.0\demo\SwingSet2 application
      2. Set Windows look & feel
      3. Iconize some of the JInternalFrames
      4. Resize the application
      5. Observe that the icons are no longer in lower left corner

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      Minimized icons are not repositioned when JDesktopPane is
      resized. They should be repositioned, as they were in
      previous JDKs.

      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      See standard Java demo in j2sdk1.4.0\demo\SwingSet2.
      ---------- END SOURCE ----------

      Release Regression From : 1.4
      The above release value was the last known release where this
      bug was known to work. Since then there has been a regression.

      (Review ID: 147262)
      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mbronsonsunw Mike Bronson (Inactive)
              Reporter:
              svioletsunw Scott Violet (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Imported:
                Indexed: