This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
Hi people! This is my first post here, and i am sorry if i duplicated topic, i couldn't find answer.
After migrating from jre-a 1.5.0_07 to jre 1.6.0_10 , a problem appeared in my app : after i close JDialog, focus is returned to JButton which i used to open JDialog, and this was not the case before. Any hints what went wrong, and how can i fix it?
All the best!
That sounds like the proper behaviour to me, so I don't think it needs fixing.
Of course you don't say what happend before, so I can't even give you a suggestion on how to manually implement it.
Joined: Sep 04, 2009
I think that, before, focus was lost, if that is the propper term (no component had focus after closing the dialog), but i am not sure. I am sure that JButton wasn't geting the focus, and i want to keep it that way