Sunita, Have you tried using the java.awt.Component method public void requestFocus() on your TextField? (Requests that this component get the input focus. The component must be visible on the screen for this request to be granted). Hope this helps. Stephanie
Sunita, Instead of calling the requestFocus() in the WindowAdapter, call it in the main() after creating an object of the type project. Geek [This message has been edited by Geek (edited September 15, 2000).]