public void start(Stage stage) throws Exception {
  stage.setScene(new Scene(new MyDemoPane()));
  stage.setTitle("JFreeChart: CrosshairOverlayFXDemo1.java");
  stage.setWidth(700);
  stage.setHeight(390);
  stage.show();
}

public void start ( Stage stage ) throws Exception { stage . setScene ( new Scene ( new MyDemoPane ( ) ) ) ; stage . setTitle ( "JFreeChart: CrosshairOverlayFXDemo1.java" ) ; stage . setWidth ( 700 ) ; stage . setHeight ( 390 ) ; stage . show ( ) ; }
adds a chart viewer to the stage and displays it .
