code: public static void addJInternalFrame(final JDesktopPane desktopPane,
  		final JInternalFrame internalFrame)
  	{
  		desktopPane.add(internalFrame);
  		internalFrame.setVisible(true);
  		internalFrame.toFront();
  	}
docs: Adds the given {@link JInternalFrame} to the given {@link JDesktopPane} and bring it to the
  front.
  
  @param desktopPane
  the desktop pane
  @param internalFrame
  the internal frame