How to center a JInternalFrame inside a JFrame
843807Apr 12 2010 — edited Apr 12 2010I have a JFrame and a JDesktopPane inside the JFrame. In my code I add a JInternalFrame to the JDesktopPane. But the JInternalFrame appears on the top left corner of the JFrame. I want it to appear at the center. How can I do this?