public String generateLabelString(XYDataset dataset,int series,int item){
  String result;
  Object[] items=createItemArray(dataset,series,item);
  result=MessageFormat.format(this.formatString,items);
  return result;
}

public String generateLabelString ( XYDataset dataset , int series , int item ) { String result ; Object [ ] items = createItemArray ( dataset , series , item ) ; result = MessageFormat . format ( this . formatString , items ) ; return result ; }
generates a label string for an item in the dataset .
