awt lost focus
0 posts in topic
Flat View  Flat View

Posted By:   paolo_abrile
Posted On:   Thursday, February 20, 2003 01:44 AM

Hi all,

Using awt in jdk 1.3, I have a list of java Component (textFields) contained in a Panel and the panel is contained in a Frame.

Users fills textFieds and after they call a new Window containing an image and the panel is refreshed.

When the first panel is refreshed it loses the focus and what I want to do is to force the blinking cursor in the first textField.

I've tried with component.requestFocus() but doesn't work.

Any help would be appreciated.

About | Sitemap | Contact