I'm new to Java.
Yet, I've project to do with ;
1. a Main JFrame1 &
2. In JFrame1 I've got a Button1 for JFrame2.setVisible(true); &
3. another JFrame2.
What I need to know is: When User Clicks JFrame1->Button1
How to make JFrame1 Completely inactive so that users can't either click a button on JFrame1 or focus JFrame1 while JFrame2 is active.
I need to set, when JFrame2 is closed all of above like clicking/ Focusing are possible.
Thank You !