J2SE Version (please include all output from java -version flag):
this report documents an interaction between JDK 1.3.1:
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-b24)
Java HotSpot(TM) Client VM (build 1.3.1-b24, mixed mode)
and JDK 1.4:
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta_refresh-b72)
Java HotSpot(TM) Client VM (build 1.4.0-beta_refresh-b72, mixed mode)
Does this problem occur on J2SE 1.3? Yes / No (pick one)
Not at first. If you start up a machine, run only jdk 1.3.1
there is no problem. If you then run using jdk 1.4 there is no problem.
But if you then try using jdk 1.3.1 again, the problem occurs!
Operating System Configuration Information (be specific):
(1) Linux RedHat 7.1 (kernel 2.4.3-12)
(2) Solaris 2.7 for both OpenWindows and KDE wms(works fine with CDE)
[no problem on WIndows 2000]
Hardware Configuration Information (be specific):
(1) IBM Thinkpad 600X (500Mhz)
(2) Sparc Ultra 60 (2x 300Mhz)
A problem occurs with an application that opens frames and
dialogs using JDK 1.3.1. The problem only occurs *after* running
the same application using JDK 1.4.
As stated above, if you never run JDK 1.4 there is no problem
using jdk 1.3.1. On the face of it, this is a problem with JDK 1.3.1.
However, it seems more than likely JDK 1.4 is the cause of the problem.
Steps to Reproduce (be specific):
1) ensure you have both jdk 1.3.1 and jdk 1.4 available
2) logout of the system or, whatever you need to do to restart X-Windows
(X needs to be in an initial pristine state)
3) compile the attached application(Frame2.java) using jdk 1.4 or
1.3.1 (doesn't matter)
4) run the application using jdk 1.3.1 first using "java Frame2"
5) follow these steps
- initial frame shows a button labelled "Click me"
- click the button
- a dialog is shown placed over the original frame
- click any diaog button, or close the dialog (doesn't matter)
- repeat once or twice more (click the "Click me" button, then
close the dialog)
it works as expected
6) now repeat step (5) using jdk 1.4, again it should work as expected
7) finally, repeat step (5) using jdk 1.3.1 again, here is what I
- on Solaris, both the initial "Click me" frame, and the dialog
have no size
- on Linux,
= the initial frame is fine
= the first time you open the dialog it is incorrectly
positioned on screen
= the second and subsequent times you open the dialog, it
has no size
The point, the dialog is non-resizeable, so when it is shown with no
size, it is rather frustrating.