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

Wrong JInternalFrame.DesktopIcon initial location and after resize

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.2.2
    • 1.2.0
    • client-libs
    • None
    • 1.2.2
    • generic, x86, sparc
    • generic, solaris_2.6, windows_95

      Problem #1 - Wrong initial location for JInternalFrame.DesktopIcon

         Iconify a JInternalFrame.
         Move the icon.
         Iconify a second JInternal Frame.

         The second icon is placed relative to the new location of the
         first icon, instead of the free space at the bottom of the parent container.


      Problem #2 - Wrong JInternalFrame.DesktopIcon location after parent resize

         Iconify a JInternalFrame.
         Resize the parent container to be larger via mouse drag.

         The icon remains at the same location instead of moving to the bottom
         of the resized parent container. The correct action is to displace
         all icons along the y axis by an amount equal to the difference in
         the height of the current and original parent container. In other words,
         the new location of each icon should be the same relative to the bottom
         of the parent container.


      Fill in your own JAVA_HOME and TESTBASE locations in the following short script
      to reproduce this problem using the interactive JCK tests for JInternalFrame...

      #!/bin/sh

      #
      # The JDK and JCK locations
      #

      JAVA_HOME=/js/files/JDK1.2_latest/solaris
      TESTBASE=/net/castor/jtg/testbase/src/JCK-12a

      CLASSPATH=${TESTBASE}/classes:${TESTBASE}/javatest.jar
      export CLASSPATH

      ${JAVA_HOME}/bin/java javasoft.sqe.tests.api.javax.swing.interactive.JInternalFrame.JInternalFrameTests -TestCaseID JInternalFrameTest0006

      james.melvin@East 1998-11-27

            hgajewsksunw Hania Gajewska (Inactive)
            jmelvin James Melvin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: