Hello Members,

My program consists of a JFrame, which opens a JDialog. At this point, the modal is "true" for the JFrame when the JDialog is opened.

What I want is the following:

Once the interaction with the JDialog is complete, the modal for the JFrame should be turned off without closing the JDialog and the modal for the JDialog should be turned on. Then, I will proceed to interact with the JFrame. Once this interaction is complete, I should be able to set the modal for JFrame to be true, turn off the modal with JDialog, and proceed to interact with JDialog and back and forth and back....

Is there a way to do this? Please suggest an example psuedocode in your response.

Thank you!!
sciprog1

Hello Members,

Could someone please reply?

Thank you!!
Sciprog1

Hello Members,

Can someone possibly reply?

Thank you!!
sciprog1

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.