-
Bug
-
Resolution: Fixed
-
P2
-
1.2.0
-
swing1.0fcs
-
sparc
-
solaris_2.5
-
Verified
I have a test app which can be run as both application and applet. The application mode doesn't work in this candidate build. It worked fine with swing-0.7. With 2/6's swing-1.0 build, this test shows a serious painting problem on all 3 platforms(NT, Windows95, Solaris). The swing components do not seem to get focus unless you iconify the app then de-iconify it. However it works fine when it runs as an applet.
However, if you remove "frame.pack()" statement or don't construct JTable, it will work. The attached is a smaller test case which reproduces this bug.
To run it as an application : java Zippy
To run it as an applet : appletviewer index.html
However, if you remove "frame.pack()" statement or don't construct JTable, it will work. The attached is a smaller test case which reproduces this bug.
To run it as an application : java Zippy
To run it as an applet : appletviewer index.html