Forums Register Login

To disable the frame .........................

+Pie Number of slices to send: Send
i'm facing a problem with the custom dialogbox. There is an inbuilt method in JOptionPane, but this is a custom Dialog.

I have a frame with menu and it has a menuitem. when i click the menuitem , it opens a custom dialogbox with 2 panels. After the dialog is opened, i'm still able to access the Frame. I don't want to access the frame.
I tried setEnabled(false) but still it is not working .

Can anyone help me out. Plz give me an example to disable access to the frame after the action of menuitem.

Thanks in Advance,
krishna
+Pie Number of slices to send: Send
if it's a custom dialog, you should be able to use
setModal(true);
Put the moon back where you found it! We need it for tides and poetry and stuff. Like this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1200 times.
Similar Threads
Can anyone please hurry help me?!?!?!?
JOptionPane===Closing
Accessing File Dialog Box
How to program with File Dialog Box.
IE6 issue in GWT
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 07:42:10.