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!
Sorry for my bad english
Joined: Jun 13, 2009
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