I have an Internal Frame and a button in the Internal Frame that opens another Internal frame to the desktop. Problem is, it opens behind the first frame. Can someone tell me how to make it appear on top?
JInternalFrame has a toFront() method. Have you tried that? If you are using a JDesktopPane for a container, there is also a setSelected(JInternalFrame) method that may work.
Neither seems to work. I tried myJInternalFrame.toFront(); compiles, but does nothing. then I tried myDesktopPane.setSelectedFrame(myJInternalFrame); again, compiles, but does nothing. Thanks for your help though.