• 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

Applet dialog not getting focus when coming back to screen using Alt-Tab

 
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I have a web site which contains applet menu. For displaying alerts and confirmation dialogs, I call methods in applet (swing dialogs) from my javacript. The problem is -
whenever the aplication is showing sucj a swing dialog and I switch to some other browser windows using Alt-Tab and when I try to come back to this window using Alt-Tab, it does not show the swing dialog on the top of window. Moreover it does not allow me to do any click on window since a modal dialog is already open for that window. So it gives an impression like the window has got hanged. But the reason being that modal dialog is some where else and is not showing on the top of window and that dialog is not automatically coming on the top of window when i come back to this window using Alt-Tab.

Please suggest me a solution. Thanks.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The best suggestion I can give would be to not use applets for this purpose. JavaScript can open dialogs if you need them, and the browser knows better how to handle them properly (in contrast to applet windows).

Also the other purpose you mention -site navigation- can be handled by JavaScript/CSS very well these days, so an applet might not be necessary.
 
reply
    Bookmark Topic Watch Topic
  • New Topic