This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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.