You can make a frame modal to the
application by using a JDialog instead of JFrame. However, you can't make a frame model to the
computer using just
java... you'd have to use JNI or something to evoke system code...
It sounds like you got messed up using the JDialog... the way to fix your code would be to move all the components on your frame onto the dialog you create... in the JDialog( Frame, boolean ) constructor, the Frame indicates the
parent of the dialog you are creating, and whether the new dialog itself is modal or not...
-Nate