private void updatePreferredSize(){
  final int width=m_offsetViewWidth + m_hexViewWidth + (18 * m_charWidth)+ m_scrollbar.getWidth();
  setPreferredSize(new Dimension(width,getHeight()));
  revalidate();
}

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