question: public Dimension minimumLayoutSize ( Container parent ) { Dimension rd , mbd ; Insets i = getInsets ( ) ; if ( contentPane != null ) { rd = contentPane . getMinimumSize ( ) ; } else { rd = parent . getSize ( ) ; } if ( menuBar != null && menuBar . isVisible ( ) ) { mbd = menuBar . getMinimumSize ( ) ; } else { mbd = new Dimension ( 0 , 0 ) ; } return new Dimension ( Math . max ( rd . width , mbd . width ) + i . left + i . right , rd . height + mbd . height + i . top + i . bottom ) ; }
target:  Returns the minimum amount of space the layout needs.