-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
1.3.1_06
-
x86
-
windows_2000
OS: Red Hat Linux 6.2J Second Edition
Desktop Environment: GNOME
J2SE version: 1.3.1_06
JFrame and JDialog are able to close even though their child JDialog is modal.
If their child JDialog is modal, parent JFrame and parent JDialog shouldn't be
able to close.
We observed this problem with RedHat Linux, and the behavior seems
fine with Windows2000.
Procedure to reproduce the problem:
1) run the sample program (TestModal.class)
2) Click [Open] button
3) JDialog(modal) comes up
4) Able to click [x] button and close parent JFrame
Procedure to reproduce another problem:
1) run the sample program (TestModal.class)
2) Click [Open] button
3) First JDialog(modal) comes up
4) Click [Go] button
5) Second JDialog(modal) comes up
6) Click parent JFrame
7) First JDialog(modal) covers second JDialog
8) Able to click [x] button and close both parent JFrame or first JDialog
Behavior of Windows and RedHat Linux is different and behavior of
Windows2000 seems correct. Sample programs are attached.
Desktop Environment: GNOME
J2SE version: 1.3.1_06
JFrame and JDialog are able to close even though their child JDialog is modal.
If their child JDialog is modal, parent JFrame and parent JDialog shouldn't be
able to close.
We observed this problem with RedHat Linux, and the behavior seems
fine with Windows2000.
Procedure to reproduce the problem:
1) run the sample program (TestModal.class)
2) Click [Open] button
3) JDialog(modal) comes up
4) Able to click [x] button and close parent JFrame
Procedure to reproduce another problem:
1) run the sample program (TestModal.class)
2) Click [Open] button
3) First JDialog(modal) comes up
4) Click [Go] button
5) Second JDialog(modal) comes up
6) Click parent JFrame
7) First JDialog(modal) covers second JDialog
8) Able to click [x] button and close both parent JFrame or first JDialog
Behavior of Windows and RedHat Linux is different and behavior of
Windows2000 seems correct. Sample programs are attached.
- duplicates
-
JDK-4336913 On Win32, disable parent window controls while modal dialog is being created.
- Resolved