Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java 1.6 focus returning problem

 
Lepi Johnny
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
Rob Camick
Ranch Hand
Posts: 2600
9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Lepi Johnny
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic