How do you change tab stop index in Swing?
I am sorry for a very simple question, but I am really at loss about this. I am very new with Java, learning it with Murach Java Programming at the moment, with Java 7. What I want to know is, how can I change the order of the focus change when we press the tab key in keyboard? In Visual Basic .NET it is called Tab Index, what is it called in Java? I would love to use Java lingo, but mine is very limited currently.
Thank you so much.
Re: How do you change tab stop index in Swing?
Are you asking for help with a key listener, or how to request focus, or something else?
Re: How do you change tab stop index in Swing?
OK, we may be talking about two different thing. If we have, say 3 textboxes in a form, say textbox 1, textbox 2, and textbox 3. If we load the form, the focus usually on textbox 1. If we press tab key, it usually goes to textbox 2, and if you press tab key again, it will go to textbox 3. This is done without any coding for key listener, right? Now, if I want to change the order from textbox 1 to textbox 3 first before textbox 2, can I do it without coding for key listener or that is the only way to do it?
Re: How do you change tab stop index in Swing?