public void initCounts(){
  counts=new Counts<Link>();
  Calendar cal=Calendar.getInstance();
  counts.setYear(cal.get(Calendar.YEAR));
  if (net != null)   counts.setName("Counts for net: " + net.getName() + "\n");
}

public void initCounts ( ) { counts = new Counts < Link > ( ) ; Calendar cal = Calendar . getInstance ( ) ; counts . setYear ( cal . get ( Calendar . YEAR ) ) ; if ( net != null ) counts . setName ( "Counts for net: " + net . getName ( ) + "\n" ) ; }
initialize the counts variable
