Dear All
I have dialog where there are four text fields and three buttons - Default, Ok , Cancel buttons. When the dialog opens i want set focus for the cancel button. which is the last button. At start the four text fields are non editable. on focus gained the text fields are set to editable state. I have added an inner class implementing focus listener. i have set the requestFocus() to cancel button. Everything works fine. But when dialog is opened for the first time the focus is set to the first text field. but when i start the next time the request focus is set to the cancel button. How to overcome this. When dialog is opened for the first time i want to set the focus to cancel button. wbr, Srinivasan Samivelu Software Development Engineer BarcoNet Private Limited. Mailto:[EMAIL PROTECTED] http://www.barconet.com _______________________________________________ Advanced-swing mailing list [EMAIL PROTECTED] http://eos.dk/mailman/listinfo/advanced-swing