JDK-4346561 : Provide setPreviousFocusableComponent() API for JComponent
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 1.3.0
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2000-06-19
  • Updated: 2001-01-12
  • Resolved: 2001-01-12
Related Reports
Duplicate :  
Description

Name: jk109818			Date: 06/19/2000


java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)

There should be an API method for JComponent to set the previous focusable
component (such as "setPreviousFocusableComponent") similar to the existing
setNextFocusableComponent so the we can direct the focused component during a
backwards SHIFT-TAB.
(Review ID: 106296) 
======================================================================

Comments
WORK AROUND Name: jk109818 Date: 06/19/2000 none ======================================================================
11-06-2004

EVALUATION In merlin, we have added powerful new focus management APIs that allow you to do this and more, but not in the way asked for in this RFE. In fact, we are advising clients not to use setNextFocusableComponent either -- because it's a dangerous method that is easy to use incorrectly resulting in components that are not reachable from the keyboard. Since the functionality that's being asked for is provided in merlin, I am closing this as a duplicate of the merlin focus enhancements bugid (4290675). But we will not be adding setPreviousFocusableComponents. hania.gajewska@Eng 2001-01-11
11-01-2001