<pre>More than two buttons grab focus in My top-level component named JFrame.</pre>
0 posts in topic
Flat View  Flat View

Posted By:   Anonymous
Posted On:   Friday, July 6, 2001 02:27 AM

My Java application uses a Top-level component named JFrame.
It contains JButtons. When i switches from one button to another button in application then
after some time more then two buttons can be seen having grabbed focus.

To take the input from user we are using JDialog .
In dialog one default button grabes default focus by calling


Please suggest me how i can avoid above mentioned focus problem.
About | Sitemap | Contact