| Author |
Dialog modality problem
|
swapnel surade
Ranch Hand
Joined: Mar 05, 2009
Posts: 129
|
|
Hi,
I'm using a java dialog to display a message. In my application there is Jdialog at bottom of the screen and browser is also used.
When message is shown on the screen I want to block the clicks on browser and dialog.
I've tried Modality option but its not working.
How can I achieve this ?
thanks
|
 |
Maneesh Godbole
Saloon Keeper
Joined: Jul 26, 2007
Posts: 8441
|
|
What do you mean "at the bottom of your screen". You cannot embed the JDialog like any standard component to a parent.
You mention application as well as "browser is also used". Is this an applet?
What exactly are you trying to do, what have you done so far, and where exactly are you stuck?
You need to TellTheDetails
|
[Donate a pint, save a life!] [How to ask questions] [Onff-turn it on!]
|
 |
swapnel surade
Ranch Hand
Joined: Mar 05, 2009
Posts: 129
|
|
|
I have jDialog after showing a message as dialog I dont want to click on the Jdialog(other than message dialog)
|
 |
Maneesh Godbole
Saloon Keeper
Joined: Jul 26, 2007
Posts: 8441
|
|
|
Use JOptionPane showXXXDialog methods. If you pass the proper parent, these dialogs will be modal.
|
 |
 |
|
|
subject: Dialog modality problem
|
|
|