linchong
asked on
disable tab key and auto edit other textfields
Hi
1. How to disable the tab key in a JtextArea.
2. I have multiple JTextField say tx1,tx2,tx3,tx4.
Once I have enter the tx1 filed, or once my cursor goes to tx2 box, I wud like to auto complete the rest of tx2,tx3,tx4.
Assume that I already have an array of strings[][] to fill up the rest.
1. How to disable the tab key in a JtextArea.
2. I have multiple JTextField say tx1,tx2,tx3,tx4.
Once I have enter the tx1 filed, or once my cursor goes to tx2 box, I wud like to auto complete the rest of tx2,tx3,tx4.
Assume that I already have an array of strings[][] to fill up the rest.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
:)
did you try this setFocusTraversalKeysEnabl
DP