JDK-4089320 : Tabbing in a TextArea, and Back-Tab
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 1.1.4
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_nt
  • CPU: x86
  • Submitted: 1997-10-28
  • Updated: 2000-01-10
  • Resolved: 2000-01-10
Related Reports
Duplicate :  
Description

Name: rm29839			Date: 10/28/97


Currently, it is a pain to implement Tab and Shift-Tab handling for TextAreas [even if they are setEditable(false)].
To start with, TextAreas eat the tab key (I assume so you can use Tab characters in the TextArea). 
This behaviour should be optional, as should their behaviour when given the Return key.
Secondly, if you try to implement a workround, you can use transferFocus to handle the tab key, 
but how do you handle Shift-Tab? There is no transferFocus method to transfer the focus to 
the _previous_ component (even though the implementation is there in the FocusManager class, 
you just can't get at it).
======================================================================

Comments
WORK AROUND Name: rm29839 Date: 10/28/97 ======================================================================
11-06-2004