Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4089320

Tabbing in a TextArea, and Back-Tab

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.1.4
    • client-libs
    • None
    • x86
    • windows_nt



      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).
      ======================================================================

            dmendenhsunw David Mendenhall (Inactive)
            rmandelsunw Ronan Mandel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: