Tabbing through text_fields and text_areas on forms

it isn’t a normal key binding or key listening that do the trick
It is a special focus traversel key stroke that must be registered.

I saw code for disabling the built-in traversal keys and then defining your own. For example, is this worth anything (I don’t know Java at all):

JTextArea textArea = new JTextArea(..) 
Set backward = new HashSet(); 
backward.add(KeyStroke.getKeyStroke("shift TAB")); 
textArea.setFocusTraversalKeys(KeyboardFocusManager 
       .BACKWARD_TRAVERSAL_KEYS, backward); 
Set forward  = new HashSet(); 
forward.add(KeyStroke.getKeyStroke("TAB")); 
textArea.setFocusTraversalKeys(KeyboardFocusManager 
                .FORWARD_TRAVERSAL_KEYS, forward);

Here’s a similar example with more explanation:
http://www.javalobby.org/java/forums/t20457.html

FYI: here’s the response to my support ticket…

Status: closed-won’t fix
Resolution: This behaviour is default behaviour as supplied by Java, and is the same as found on your OS

Very frustrating.

Jim

Very frustrating

Agreed, Jim. It’s not a standard in the non-Java world, but at least Johan’s been kind enough to look into this, so don’t give up just yet. Now, if we could only bribe Marcel…or Johan :) We could take up a collection. One case of their favorite beer.

Guys this:

One case of their favorite beer.

Is really only the beginning of a bribe and should be adressed to both Johan and me no matter who is going to implement it :)

hahahaha. I just found out yesterday that I’m going to be attending ServoyWorld, so perhaps during the conference we can discuss the bribe in more detail with fellow Servoy developers.

Great Sean, look forward to meeting you :)