private void runRegression(){
  runner.execute();
  Graph graph=runner.getOutGraph();
  GraphUtils.circleLayout(graph,200,200,150);
  GraphUtils.fruchtermanReingoldLayout(graph);
  workbench.setGraph(graph);
  RegressionResult report=runner.getResult();
  reportText.setText(report.toString());
  textWithTable.removeAll();
  textWithTable.setLayout(new BorderLayout());
  textWithTable.add(TextWithTable.component(report.getPreamble(),report.getResultsTable()));
  textWithTable.revalidate();
  textWithTable.repaint();
}

private void runRegression ( ) { runner . execute ( ) ; Graph graph = runner . getOutGraph ( ) ; GraphUtils . circleLayout ( graph , 200 , 200 , 150 ) ; GraphUtils . fruchtermanReingoldLayout ( graph ) ; workbench . setGraph ( graph ) ; RegressionResult report = runner . getResult ( ) ; reportText . setText ( report . toString ( ) ) ; textWithTable . removeAll ( ) ; textWithTable . setLayout ( new BorderLayout ( ) ) ; textWithTable . add ( TextWithTable . component ( report . getPreamble ( ) , report . getResultsTable ( ) ) ) ; textWithTable . revalidate ( ) ; textWithTable . repaint ( ) ; }
runs the regression , resetting the text output and graph output .
