API Javadoc for frame.pack (inherited from Window.pack):