JDK-4633691 : unable using arrow keys to navigate between buttons with JOptionPane
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 1.4.0,6
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic,windows_nt,windows_2000
  • CPU: generic,x86
  • Submitted: 2002-02-06
  • Updated: 2005-07-21
  • Resolved: 2005-07-21
Related Reports
Duplicate :  
Duplicate :  
Relates :  
Description
J2SE Version (please include all output from java -version flag):
 java version "1.4.0-rc"
 Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-rc-b91)
 Java HotSpot(TM) Client VM (build 1.4.0-rc-b91, mixed mode)

Does this problem occur on J2SE 1.3?  Yes / No (pick one)
 Yes
 
Operating System Configuration Information (be specific):
 Windows

Bug Description:
In native Windows, when interacting with a MessageBox(...), one can use the
arrow keys to navigate between buttons (e.g. <- is the same as Shift-Tab and
-> the same as Tab).  This is apparently not currently supported by
JOptionPane.  Arguably, JOptionPane should mimic MessageBox.

Comments
EVALUATION See duplicate bug 4640009 for a test case. ###@###.### 2002-03-04 This should be addressed by 4226243. ###@###.### 2005-03-30 17:07:53 GMT The support for this has been provided by 4226243, but in order to make it work, JOptionPane buttons will need to be added to a button group. ###@###.### 2005-07-19 15:45:42 GMT
19-07-2005