• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Java 1.6 focus returning problem

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
Rancher
Posts: 3324
32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
reply
    Bookmark Topic Watch Topic
  • New Topic