Hi NG,
i know that there many posts in here covering that topic, but i read
most of them and none helped me.
I have a JFrame with a JTextPane (not editable) and a JTextField
(editable). The JTextField has an ActionListener which puts all entered
Text in the JTextPane. Now I added a WindowListener to the JFrame and
set up the Window.opened() with: "tf.requestFocus();" where "tf" is my
JTextField.
Now my problem is, that the JTextField never gets the focus, when i
start my application.
Any help would be appreceated,
Lars
nacho3 - 08 Apr 2004 10:03 GMT
> Hi NG,
> i know that there many posts in here covering that topic, but i read
[quoted text clipped - 10 lines]
> Any help would be appreceated,
> Lars
Hi, sorry my english, i'm spanish. Why don't you try to put in the last line
of jInit () tf.requestFocus ();
Saludos.