Setting focus on a JTextField when an applet runs
Hey.
I have been having trouble trying to set focus onto a jtextfield when my applet runs. I have tried:
textfield.requestFocus();
textfield.grabFocus();
etc.
How do I set the focus as soon as the applet runs? I have searched the net for ages and nobody seems to have an answer for me.
Thanks :)
Chris
|