i have 2 frames in my application on for options and the other is the main frame ....i want to have the main frame visible when i use the options frame but at the same time i dont want it to be focusable as longas the options frame is opened ...i tried the mainframe.setFocusable(false)...but it didnt work ... i want the main frame seen ..but now one can focus on it !!!
Mahesh x Bogadi
posted 11 years ago
Donot use 2 frames.
Instead * Use one frame * And one JDialog. * Make the Dialog as setModal(true);