-
Bug
-
Resolution: Not an Issue
-
P3
-
None
-
1.2.0
-
x86, sparc
-
solaris_2.6
Setting the border of a JToggleButton changes it's size. In
the JCK test JToggleButton0006, the size of the smaller buttons
is decreased to the point where they are unusable.
#!/bin/ksh
JDK=/net/ultrajaguar.eng/export/jdk12x/sparc/jdk1.2FCS_O
#JDK=/net/mulder.eng/export/mulder3/jdk12x/sparc/jdk1.2FCS_L
#JDK=/net/jde1.eng/export/jtech1/ajacobs/i386/dev5-merge/build/solaris
#JDK=/net/jde1.eng/export/jtech17/generational_heap/ws/build/solaris
JCK=/net/jde1.eng/export/jtech23/JCK-12a
PATH=${JDK}/bin:/usr/dt/bin:/usr/bin:/bin:/usr/openwin/bin
LD_LIBRARY_PATH=/usr/dt/lib:/usr/openwin/lib
CLASSPATH=${JCK}/classes:${JCK}/javatest.jar
export PATH
export LD_LIBRARY_PATH
export CLASSPATH
if [ ! -f JToggleButtonTests.java ]; then
cp ${JCK}/tests/api/javax_swing/interactive/JToggleButtonTests.java .
fi
if [ ! -f JToggleButtonTests.html ]; then
cp ${JCK}/tests/api/javax_swing/interactive/JToggleButtonTests.html .
fi
#javac -d . JToggleButtonTests.java
java -verify javasoft.sqe.tests.api.javax.swing.interactive.JToggleButton.JToggleButtonTests -TestCaseID JToggleButtonTest0006 -TestDirURL file:${JCK}/tests/api/javax_swing/interactive/JToggleButtonTests.html
Type X.ksh. Click on the "Set border" checkbox. The borders of the
JToggleButtons will change to blue. And, the JToggleButtons will shrink.
allan.jacobs@Eng 1998-10-23
Close this bug. The test looks bad but it's working fine.
allan.jacobs@Eng 1998-10-27