I am using following code to set focus on a text field on my applet in applet init method. For some reason it does not work. I am using JRE 1.5.0_11. This used to work with JRE 1.4.2.
// code to set focus on the text field. jtDocketCode.requestFocus()
Focus appear to be on the whole applet. Cursor is in the text filed if I click anywhere on the applet. It appears that applet is not in focus and that�s why I am not able see the cursor in the text field.