Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Tab key on JTextArea

Reply
Thread Tools

Tab key on JTextArea

 
 
Ahmed Moustafa
Guest
Posts: n/a
 
      06-28-2003
How can the focus be moved to the next focusable component when a tab
key is pressed on a JTextArea?

Thanks in advance!

 
Reply With Quote
 
 
 
 
xarax
Guest
Posts: n/a
 
      06-28-2003
Ahmed Moustafa <> wrote in message news:<>...
> How can the focus be moved to the next focusable component when a tab
> key is pressed on a JTextArea?
>
> Thanks in advance!


Try ctrl-TAB to move out the JTextArea. If you really
want TAB, rather than ctrl-TAB (the default), then you
must override the KeyStroke and Action objects for
the TAB key on the InputMap for the JTextArea.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make send key ([tab] [tab]Text [Enter]) in some program (Internet Explorer or Notepad)? max Perl Misc 2 04-01-2007 10:12 AM
How can I capture tab key event and cancel default action of Tab key? HopfZ Javascript 0 01-08-2007 10:04 PM
Urgent: How can I get the enter key to behave like a tab key? Karen Grube ASP .Net Web Controls 3 11-29-2004 03:23 PM
QuickBooks Key v6.5.918 WinALL, Quicken Key v6.5.918 WinALL, Peachtree Accounting Key v6.5.971 WinALL, new ! code_fu NZ Computing 0 10-10-2004 02:26 PM
Replace Tab Key to Return Key (Enter Key) from Web Forms? M P ASP General 1 08-06-2004 08:32 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57