This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
anuragbhalla, Sure... just use the requestFocus() method of Component( which TextBox(?!?!) (I assume you mean TextField or TextArea.) inherits from.) You can do this when you first display it, or in response to an event... Just remember, as the API doc on this method states, "The component must be visible on the screen for this request to be granted." HTH, -Nate P.S. - Some people on here might bug you about this, too... But JavaRanch's naming policy states that you have to have a name with a space in it... Not being picky... it is just the rule...
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com