This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Five Lines of Code and have Christian Clausen on-line!
See this thread for details.
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

invoking dialog box from Applet results in Hang of IE browser

 
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,
I am trying to invoke a dialog from browser,
ie Applet --> Press a Button --> opnes a Frame -->
with a button -> click on the button, should open a dialog.
but when this dialog opens! the who;e applet hangs.
Any one any clue???
Require quick solution
 
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you mean by "hangs".
Is it possible you are talking about a modal Dialog. If you open a modal dialog you can't do anything else in the applet until you close the dialog.
If you don't want a modal Dialog you can specify this in the Dialog constructor by setting modal to false.
From API:

Dialog
public Dialog(Frame owner,
String title,
boolean modal)
Constructs an initially invisible Dialog with the specified owner frame, title, and modality.
Parameters:
owner - the owner of the dialog
title - the title of the dialog. A null value will be accepted without causing a NullPointerException to be thrown.
modal - if true, dialog blocks input to other app windows when shown


Linda
    Bookmark Topic Watch Topic
  • New Topic