pack() *2
JDK Doc(JAVA)Download this dictionary
pack() *2
- Method in class javax.swing.JInternalFrame 
public void pack ()
Causes subcomponents of this JInternalFrame to be laid out at their preferred size.See Also:  Window.pack()