Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

How to create modal dialog boxes

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I am calling applets(JApplet) public methods from javaScript (IE6 browser).I am able to do this successfully. But i am getting the problem when i shows a dialog box in my applets public method which i am calling from javascript.here the problem is, after displaying the dialog box, browser hangs up(i.e. if i see in windows NT TaskManager my browser status is "Not Responding").I am getting this problem only in the case of Modal dialog box.
Here my actual task is while closing the browser window by clicking on 'X' button on top right corner, in the event 'onbeforeunload' of the browser, i am calling the javascripts method where i am calling the public method of applet, in which i am displaying JFileChooser asking the user to save the modifications(made into a textarea in the applet) into a file.After displaying the JFileChooser dialog, browser hangs up.
Ramana
 
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic