public void createROCPlotDialog(ROCData data){
  ROCChartPlotter plotter=new ROCChartPlotter();
  plotter.addROCData("ROC",data);
  JDialog dialog=new JDialog();
  dialog.setTitle("ROC Plot");
  dialog.add(plotter);
  dialog.setSize(500,500);
  dialog.setLocationRelativeTo(null);
  dialog.setVisible(true);
}

public void createROCPlotDialog ( ROCData data ) { ROCChartPlotter plotter = new ROCChartPlotter ( ) ; plotter . addROCData ( "ROC" , data ) ; JDialog dialog = new JDialog ( ) ; dialog . setTitle ( "ROC Plot" ) ; dialog . add ( plotter ) ; dialog . setSize ( 500 , 500 ) ; dialog . setLocationRelativeTo ( null ) ; dialog . setVisible ( true ) ; }
creates a dialog containing a plotter for a given list of roc data points .
