-
Bug
-
Resolution: Fixed
-
P2
-
1.2.0
-
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
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
- duplicates
-
JDK-4188910 JDesktopPane resize problem
- Closed
-
JDK-4193297 JInternalFrames do not adjust their iconified location on desktop resize
- Closed
- relates to
-
JDK-6579233 javax\swing\JInternalFrame\4193219\IconCoord.html fails
- Closed
-
JDK-5048830 TEST_BUG: Description of .../4193219/IconCoord.html is incorrect
- Closed