MemberCellRenderer(){
  label=new JLabel();
  label.setOpaque(false);
  renderer.add(label);
  Font f=label.getFont();
  if ((f.getStyle() & Font.BOLD) != 0) {
    boldFont=f;
    normalFont=f.deriveFont(f.getStyle() ^ Font.BOLD);
  }
 else {
    normalFont=f;
    boldFont=f.deriveFont(f.getStyle() | Font.BOLD);
  }
  hpBar=new HPBar();
  renderer.add(hpBar,SLayout.EXPAND_X);
}

MemberCellRenderer ( ) { label = new JLabel ( ) ; label . setOpaque ( false ) ; renderer . add ( label ) ; Font f = label . getFont ( ) ; if ( ( f . getStyle ( ) & Font . BOLD ) != 0 ) { boldFont = f ; normalFont = f . deriveFont ( f . getStyle ( ) ^ Font . BOLD ) ; } else { normalFont = f ; boldFont = f . deriveFont ( f . getStyle ( ) | Font . BOLD ) ; } hpBar = new HPBar ( ) ; renderer . add ( hpBar , SLayout . EXPAND_X ) ; }
create a new membercellrenderer .
