src/pendulum/PendulumApplication.java
/**
     * Entry point for an application
     *
     * @param primaryStage An object created by external objects to be embedded
     * application into.
     */
Entry point for an application
@param primaryStage An object created by external objects to be embedded
application into.
Entry point for an application @param primaryStage An object created by external objects to be embedded application into .
@Override
    @SuppressWarnings ("UnnecessaryReturnStatement")
    public void start (Stage primaryStage)
    {
	logger.info ("Starting application...");
	pendulumModel = new Model ();
	pendulumView = new View ();
	pendulumController = new Controller (pendulumView, pendulumModel);
	pendulumView.setMainStage (primaryStage);
	pendulumView.setController (pendulumController);
	pendulumView.createScene ();
	mainScene = pendulumView.getScene ();
	mainStage = primaryStage;
	mainStage.setTitle ("Pendulum Application");
	mainStage.setScene (mainScene);
	mainStage.getIcons ().add (new Image (this.getClass ().getResource ("/pendulum/util/icon/PendulumIcon.jpg").toExternalForm ()));
	mainStage.setResizable (false);
	mainStage.show ();
	return;
    }
@ Override @ SuppressWarnings ( "UnnecessaryReturnStatement" ) public void start ( Stage primaryStage ) { logger . info ( "Starting application..." ) ; pendulumModel = new Model ( ) ; pendulumView = new View ( ) ; pendulumController = new Controller ( pendulumView , pendulumModel ) ; pendulumView . setMainStage ( primaryStage ) ; pendulumView . setController ( pendulumController ) ; pendulumView . createScene ( ) ; mainScene = pendulumView . getScene ( ) ; mainStage = primaryStage ; mainStage . setTitle ( "Pendulum Application" ) ; mainStage . setScene ( mainScene ) ; mainStage . getIcons ( ) . add ( new Image ( this . getClass ( ) . getResource ( "/pendulum/util/icon/PendulumIcon.jpg" ) . toExternalForm ( ) ) ) ; mainStage . setResizable ( false ) ; mainStage . show ( ) ; return ; }
Entry point for an application
 @param primaryStage An object created by external objects to be embedded
 application into.
Entry point for an application @param primaryStage An object created by external objects to be embedded application into .