JDK-6325652 : Iconified JInternalFrame does not restore when Ctrl+F5 is used
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 5.0u4,5.0u7
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic,windows_xp
  • CPU: generic
  • Submitted: 2005-09-19
  • Updated: 2017-05-16
  • Resolved: 2006-02-02
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6
6 b70Fixed
Related Reports
Duplicate :  
Relates :  
Relates :  
Relates :  
Relates :  
Description
Published Sun keyboard shortcut Ctrl+F5 to restore an inconified JInternalFrame does not work, although Ctrl+F9 iconifies an open JInternalFrame.

      Test case for this issue in JFrame2.java has been attached.  It contains a main() method that demonstrates this issue.

There have been other issues (bug: 4878528), but the fixes for them still do not solve this problem.

Comments
EVALUATION The keyboard navigation will be fixed as long as the JDesktopPane has focus. If the application needs focus to initially go to the JDesktopPane it will need to invoke: desktop.setFocusable(true); to enable the desktop to get the focus.
22-11-2005

EVALUATION The problem with Ctrl+F5 is reproducible in JDK 1.3.1, 1.4.2, 1.5.0, and 1.6.0, so it is not a regression. The Ctrl+F5 and Ctrl+F6 behavior is documented in the J2SE 1.4.2 specification at http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/doc-files/Key-Metal.html Containers: Frames, Windows, Panes, and Icons ... Navigate forward among open associated windows | Ctrl+F6 ... JInternalFrame (Java L&F) ... Open (Restore) | Ctrl+F5 However there is no requirement for this behavior in the specification for JDK 1.5 and 1.6, as a result of bug 4905905 Swing's key binding mapping documentation is out of date. Icons in the Metal and Ocean L&Fs should highlight when they are selected by Ctrl+F6. Ctrl+F6 should navigate JInternalFrames without clicking one first. After all JInternalFrames have been iconified, Ctrl+F5 should restore and Ctrl+F6 should navigate.
04-10-2005