• 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

focus transfer

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok, I'd like to do something like the following for my java app..
In your IE, go to tools and bring up the Internet Options menu window.
Now when that window is visible, you can't click on the IE browser that
is the parent of that internet options window (it will give you a beep
sound if you try to do so). You can focus on the parent IE browser, only
after closing the internet options window. How can I implement something similar in java? Thanks in advance.
Dan
 
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
JDialog() with modal set to true

search for 'extends JDialog' for working examples
 
Ranch Hand
Posts: 580
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Michael Dunn:
JDialog() with modal set to true

search for 'extends JDialog' for working examples



You must also make sure you set the parent of the JDialog if you want it to be truly modal.
reply
    Bookmark Topic Watch Topic
  • New Topic