private void drawBackground(final Graphics g){
  g.setColor(m_bgColorOffset);
  g.fillRect(-m_firstColumn * m_charWidth,0,m_offsetViewWidth,getHeight());
  g.setColor(m_bgColorHex);
  g.fillRect((-m_firstColumn * m_charWidth) + m_offsetViewWidth,0,m_hexViewWidth,getHeight());
  g.setColor(m_bgColorAscii);
  g.fillRect((-m_firstColumn * m_charWidth) + m_hexViewWidth + m_offsetViewWidth,0,((m_firstColumn * m_charWidth) + getWidth()) - (m_hexViewWidth + m_offsetViewWidth) - m_scrollbar.getWidth(),getHeight() - m_horizontalScrollbar.getHeight());
  g.setColor(Color.BLACK);
  g.drawLine((-m_firstColumn * m_charWidth) + m_offsetViewWidth,0,(-m_firstColumn * m_charWidth) + m_offsetViewWidth,getHeight());
  g.drawLine((-m_firstColumn * m_charWidth) + m_offsetViewWidth + m_hexViewWidth,0,(-m_firstColumn * m_charWidth) + m_offsetViewWidth + m_hexViewWidth,getHeight());
}

private void drawBackground ( final Graphics g ) { g . setColor ( m_bgColorOffset ) ; g . fillRect ( - m_firstColumn * m_charWidth , 0 , m_offsetViewWidth , getHeight ( ) ) ; g . setColor ( m_bgColorHex ) ; g . fillRect ( ( - m_firstColumn * m_charWidth ) + m_offsetViewWidth , 0 , m_hexViewWidth , getHeight ( ) ) ; g . setColor ( m_bgColorAscii ) ; g . fillRect ( ( - m_firstColumn * m_charWidth ) + m_hexViewWidth + m_offsetViewWidth , 0 , ( ( m_firstColumn * m_charWidth ) + getWidth ( ) ) - ( m_hexViewWidth + m_offsetViewWidth ) - m_scrollbar . getWidth ( ) , getHeight ( ) - m_horizontalScrollbar . getHeight ( ) ) ; g . setColor ( Color . BLACK ) ; g . drawLine ( ( - m_firstColumn * m_charWidth ) + m_offsetViewWidth , 0 , ( - m_firstColumn * m_charWidth ) + m_offsetViewWidth , getHeight ( ) ) ; g . drawLine ( ( - m_firstColumn * m_charWidth ) + m_offsetViewWidth + m_hexViewWidth , 0 , ( - m_firstColumn * m_charWidth ) + m_offsetViewWidth + m_hexViewWidth , getHeight ( ) ) ; }
draws the background of the hex panel .
