posted 20 years ago
The best way to do this is provide a new DesktopManager to the JDesktopPane that contains this JInternalFrame. Basically, just override the dragFrame() method to ignore moving a frame based on some criteria. In my example I create a marker interface, but you could keep it simple and base it on a predefined title or something if you don't need that much functionality.
-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.