code: public static void addComponentToFrame(final JInternalFrame internalFrame,
  		final Component component)
  	{
  		internalFrame.add(component, BorderLayout.CENTER);
  		internalFrame.pack();
  	}
docs: Adds the given {@link Component} object to the given {@link JInternalFrame} object.
  
  @param internalFrame
  the {@link JInternalFrame} object.
  @param component
  the {@link Component} object to add