Focus Between TextFiled And Button

I have a Frame and it contains five JTextFields and one JButton.

If the first TextField is empty (no input anything), I use a requestFocus for the first TextField. So, it cannot jump to the second TextField.

But it can jump to the Button by using Mouse click from the first TextFiled.

My problem is how to force the user, the first TextField must be input and the user cannot click the JButton until the first TextFiled done..

thank you.

[468 byte] By [oliverwga] at [2007-11-27 7:39:14]
# 1
Make the butten disabled at the beginning, enable it after an entry in the textfield is made.
marco@dea at 2007-7-12 19:19:54 > top of Java-index,Desktop,Core GUI APIs...