-
Bug
-
Resolution: Unresolved
-
P4
-
None
-
1.4.2, 5.0
-
Fix Understood
-
x86
-
windows_xp
Name: sh120115 Date: 01/15/2004
FULL PRODUCT VERSION :
java version "1.4.2_03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-b02)
Java HotSpot(TM) Client VM (build 1.4.2_03-b02, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows XP [Version 5.1.2600]
EXTRA RELEVANT SYSTEM CONFIGURATION :
Windows look and feel
A DESCRIPTION OF THE PROBLEM :
for showConfirmDialog you must press ALT+Y/N for yes/no - a windows YESNOCANCEL msgbox allows pressing just Y,N only (standard Windows dialog mnemonics really)
also, pressing ESC or clicking the windows' Close (x) button activates the No response from the dialog - a windows msgbox returns Cancel for these actions
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
JOptionPane.showConfirmDialog( mainGui, "Document was modified. Save?" );
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
pressing Y,N should activate Yes,No
pressing ESC (or clicking x) should activate Cancel
ACTUAL -
pressing Y,N is ignored - need to press ALT+Key
pressing ESC (or clicking x) returns No
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
JOptionPane.showConfirmDialog( mainGui, "Document was modified. Save?" );
---------- END SOURCE ----------
(Incident Review ID: 233290)
======================================================================
- duplicates
-
JDK-5054478 Cannot dismiss JOptionPane yes_no_cancel dialog by pressing 'y' need Alt down
- Closed