question: private void updatePreferredSize ( ) { final int width = m_offsetViewWidth + m_hexViewWidth + ( 18 * m_charWidth ) + m_scrollbar . getWidth ( ) ; setPreferredSize ( new Dimension ( width , getHeight ( ) ) ) ; revalidate ( ) ; }
target:  Calculates and sets the preferred size of the component.