• 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
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

How to create modal dialog boxes

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Politics n. Poly "many" + ticks "blood sucking insects". Tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic