-
Bug
-
Resolution: Not an Issue
-
P4
-
None
-
1.4.2
-
x86
-
windows_xp
Name: rmT116609 Date: 09/16/2004
FULL PRODUCT VERSION :
java version "1.4.2_05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04)
Java HotSpot(TM) Client VM (build 1.4.2_05-b04, mixed mode)
and J2SE 5.0 Beta 2
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows XP
Professional
Version 2002
Service Pack 1
EXTRA RELEVANT SYSTEM CONFIGURATION :
Computer:
Intel(R)
Pentium(R) 4 CPU 3.00GHZ
2.00GB RAM
Monitor Card: VGA Card
Cable: VGA Cable
A DESCRIPTION OF THE PROBLEM :
When we try to run java swing application on the system that has dual monitors we noticed a very weird behavior. When we resized the application window so that part of it appears in one monitor and rest in second monitor and if we do locking and unlocking the system the application is automatically resized to fit in one monitor.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Step 1: Launch the SwingSet2.jar application that is shipped with JDK.
Path is : C:\Program Files\j2sdk1.4.2_05\demo\jfc\SwingSet2Step 2: Resize the application window so that it spans in two monitors(In Dual Monitor System)
Step 3: Lock and Unlock the machine.
Bug: The application is resized to fit in the first monitor automatically where as it should appear in the way it was before locking the machine.
You'll need to try different resizes to get the bug to appear but it would appear in a few trials.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
After unlocking , the application window should appear in the same way it was before locking the machine.
ACTUAL -
After unlocking, the application window is resized to appear in first monitor only.
REPRODUCIBILITY :
This bug can be reproduced often.
---------- BEGIN SOURCE ----------
Run the SwingSet2.jar in the folder j2sdk1.4.2_05\demo\jfc\SwingSet2
using the command
java -jar SwingSet2.jar
and follow the steps mentioned in Steps to Reproduce item.
---------- END SOURCE ----------
(Incident Review ID: 300774)
======================================================================