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 have an applet which appears as a button, and when the user clicks on it, a modal Dialog (mainDialog) is opened.
When certain events occur on mainDialog, a smaller modal Dialog (subDialog) appears.
Both Dialogs have the applet frame as their parents, and the problem is that input is be blocked to subDialog when it is shown.
I have tried to call mainDialog.setModal(false) just before subDialog is constructed and displayed, but it has no effect. (However, just to test, when making mainDialog non-modal at construction everything works fine).
Does anyone have the solution workaround for how I can make these two modal Dialogs successfully share the same parent?