NewsArchive
01-14-2002, 12:00 AM
1. I have several text fields on my custom panel which ask for user
input, I want the cursor starts in the first field by default when that
panel is loaded . I use theTextField.requestFocus(), but it doesnot work.
2. when the "next" (or the other two) button is focused, hit Enter key
does nothing, you have to click on it to make it work. Is there a way to
make the buttons work in both way?
Thanks
input, I want the cursor starts in the first field by default when that
panel is loaded . I use theTextField.requestFocus(), but it doesnot work.
2. when the "next" (or the other two) button is focused, hit Enter key
does nothing, you have to click on it to make it work. Is there a way to
make the buttons work in both way?
Thanks