private void drawHighlightedRegister(final Graphics g){
  if (!isEnabled()) {
    return;
  }
  if (m_editedRegister != -1) {
    g.setColor(m_bgColorEdit);
    final Rectangle r=getRegisterBounds(m_editedRegister);
    g.fillRect(r.x,r.y,r.width,r.height);
  }
 else   if (m_highlightedRegister != -1) {
    g.setColor(m_bgColorHighlight);
    final Rectangle r=getRegisterBounds(m_highlightedRegister);
    g.fillRect(r.x,r.y,r.width,r.height);
  }
}

private void drawHighlightedRegister ( final Graphics g ) { if ( ! isEnabled ( ) ) { return ; } if ( m_editedRegister != - 1 ) { g . setColor ( m_bgColorEdit ) ; final Rectangle r = getRegisterBounds ( m_editedRegister ) ; g . fillRect ( r . x , r . y , r . width , r . height ) ; } else if ( m_highlightedRegister != - 1 ) { g . setColor ( m_bgColorHighlight ) ; final Rectangle r = getRegisterBounds ( m_highlightedRegister ) ; g . fillRect ( r . x , r . y , r . width , r . height ) ; } }
draws the background of the highlighted register in a different color than the standard background .
