pack()
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()
 
pack() *3
- Method in class javax.swing.JPopupMenu 
public void pack ()
Layout the container so that it uses the minimum space needed to display its contents.