posted 21 years ago
I have this main-screen with buttons to lunch another sub-screen, I made the sub-screen set its layered pane to modal and it work fine the main-screen sit behind the sub-screen even though i clicked on it, but the only problem is i can still clicked on the main-screen close, minimized and maximized button, and i can even type on its JTextField components..., the point is i want to disable the whole frame (as in no mouse event) but i cant, i tried the setEnabled(false) but it dont work. please help me! thanks in advance.
The Code is the Programmer