Tab key on JTextArea
How can the focus be moved to the next focusable component when a tab
key is pressed on a JTextArea?
Thanks in advance!
Re: Tab key on JTextArea
Ahmed Moustafa <email@example.com> wrote in message news:<3EFD3EC5.firstname.lastname@example.org>...
> 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.
|All times are GMT. The time now is 02:32 AM.|
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.