Hi,
 
Yes that is indeed possible:
 
@see javax.swing.JComponent#setNextFocusableComponent(Component c);
 
Cheers,
 
Marijn
----- Original Message -----
Sent: Wednesday, May 17, 2000 6:48 PM
Subject: [JAVA2D] Question on tab order

I am pretty new to swing so I am just learning. In writing some sample applications I have had problems predicting and setting tab order and focus, even the initial focus. Can anyone point me to any reference/documentation or whatever that discusses how to set up tab order on the various components without having to write your own FocusListener. Seems like there has to be some simple, straight-forward way to do it.
 
Some of my sample apps have several main (JWindows) and have several components within components in the windows. So I would expect that I can set up the tab order to start with at JTextField, go to a tool bar with several buttons, go through those buttons in order, go to a JTextArea, and then back to the beginning JTextField. Also I would expect at any point in time shift-Tab would take you in reverse order. This is all possible, right?
 
Thanks in advance for any info or advice.

Doal Miller
Fulcra
email: [EMAIL PROTECTED]
voice: (858) 874-7162
fax: (858) 571-1208

 

Reply via email to