aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes JTextField and Focus Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTextField and Focus" Watch "JTextField and Focus" New topic
Author

JTextField and Focus

Sri Rangan
Ranch Hand

Joined: Dec 08, 2001
Posts: 160
I have Form which consists of JPanels(I call it Formlet). Each Formlet has a TextArea (Non-editable) and a JTextField/JFormattedTextField.
I would like to have the ability to tab off from one formlet text field to another using the tab key.
How to achieve this?
Thanks in advance
Sri
Sri Rangan
Ranch Hand

Joined: Dec 08, 2001
Posts: 160
In fact I place the JTextArea in JScrollPane
Sri Rangan
Ranch Hand

Joined: Dec 08, 2001
Posts: 160
I figured it out. I am setting setFocusable(false) for JTextArea and JScrollPane
Sri
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JTextField and Focus