I have one frame in main window.
I have one button for "edit user" .
When I click on button "edit user" , then one new window open for edit user ...
Now i want that anyone can not click on main frame f..
means user can only click on new window of "edit user" and when user close new window then he can take command of main frame...
Please solve this problem..
posted 6 years ago
If I understood you correctly, you'll need a model dialog and nothing else.
So, instead of creating a new JFrame, you should create a new JDialog.