posted 20 years ago
There is really only one way to do this without setting the JFrame modal and without JNI...
Create a WindowListener that anytime the JFrame loses focus or gets put behind another window, the toFront() method is called.
This is sloppy though because you will see it go behind then come back to the front. But like I said, no other way....(About 99% sure on this anyway)