Please anyone tell me as how to disable parent frame or window when
child frame is active.
when i click on a jbutton on one frame, a new frame will open. while this new frame is open i want to disable the first frame. like disabling any mouse click on first window. and when i close new frame then i have to enable first frame. and both the frames have main method in them.
and if i have to do this in net beans then how to do it?