public UsersListCellRenderer(){
  nameFont=new Font("Helvetica",Font.BOLD,13);
  generalFont=new Font("Helvetica",Font.PLAIN,13);
  mainPanelDimension=new Dimension(250,68);
  activeMainPanelDimension=new Dimension(250,116);
  activeColor=UIUtil.isUnderDarcula() ? UIManager.getColor("TextField.background") : Color.WHITE;
  inactiveColor=UIUtil.isUnderDarcula() ? UIManager.getColor("darcula.inactiveBackground") : new Color(0xf5f5f5);
  FontMetrics fontMetrics=getFontMetrics(generalFont);
  generalFontHeight=fontMetrics.getHeight();
  cloudLabelDimension=new Dimension(fontMetrics.stringWidth(CLOUD_LABEL_TEXT),generalFontHeight);
  playLabelDimension=new Dimension(fontMetrics.stringWidth(PLAY_LABEL_TEXT),generalFontHeight);
  learnMoreLabelDimension=new Dimension(fontMetrics.stringWidth(LEARN_MORE_TEXT),generalFontHeight);
}

public UsersListCellRenderer ( ) { nameFont = new Font ( "Helvetica" , Font . BOLD , 13 ) ; generalFont = new Font ( "Helvetica" , Font . PLAIN , 13 ) ; mainPanelDimension = new Dimension ( 250 , 68 ) ; activeMainPanelDimension = new Dimension ( 250 , 116 ) ; activeColor = UIUtil . isUnderDarcula ( ) ? UIManager . getColor ( "TextField.background" ) : Color . WHITE ; inactiveColor = UIUtil . isUnderDarcula ( ) ? UIManager . getColor ( "darcula.inactiveBackground" ) : new Color ( 0xf5f5f5 ) ; FontMetrics fontMetrics = getFontMetrics ( generalFont ) ; generalFontHeight = fontMetrics . getHeight ( ) ; cloudLabelDimension = new Dimension ( fontMetrics . stringWidth ( CLOUD_LABEL_TEXT ) , generalFontHeight ) ; playLabelDimension = new Dimension ( fontMetrics . stringWidth ( PLAY_LABEL_TEXT ) , generalFontHeight ) ; learnMoreLabelDimension = new Dimension ( fontMetrics . stringWidth ( LEARN_MORE_TEXT ) , generalFontHeight ) ; }
initializes the custom cell renderer .
