I have an application say two major GUIs (College-JFrame and Department-JFrame). There is JButton - ManageDepartmentButton - that opens the Department-JFrame.
I want College-JFrame GUI to freeze or non-clickable when ever Department-JFrame is open.
And after Department-JFrame is closed I want to restore / un-freeze the College-JFrame.
Is there a way to do this? How? Or any work around?