private void createMetricChartPanel(int metric,DatasetGenerator datasetGenerator,List<GCStatsChartPanel> list){
  ChangingCategoryDatasetWithTTG dataset=datasetGenerator.newCategoryDatasetWithTTG(metric,false);
  GCStatsChartPanel panel=new MetricChartPanel(CHART_PREFIX + DatasetGenerator.getMetricName(metric),DatasetGenerator.getUnitName(metric),dataset,locker);
  list.add(panel);
}

private void createMetricChartPanel ( int metric , DatasetGenerator datasetGenerator , List < GCStatsChartPanel > list ) { ChangingCategoryDatasetWithTTG dataset = datasetGenerator . newCategoryDatasetWithTTG ( metric , false ) ; GCStatsChartPanel panel = new MetricChartPanel ( CHART_PREFIX + DatasetGenerator . getMetricName ( metric ) , DatasetGenerator . getUnitName ( metric ) , dataset , locker ) ; list . add ( panel ) ; }
it adds a new metric chart panel to the tabbed pane set .
