question: private void adjustSize ( ) { if ( bigger ( dialog . getPreferredSize ( ) , dialog . getSize ( ) ) ) { dialog . pack ( ) ; } }
target:  Adjusts the size of the dialog to the preferred size, but only if that is bigger than the current size.