@Override
    public void setScene(){

        pendulumAnimationScene = new Scene(root_pendulum, sceneWidth, sceneHeight);
        setGraph();
        setButtonEvent();
        setTimelineEvent();
        setDrag();
        
        massTextField.setPrefWidth(200);
        lengthTextField.setPrefWidth(200);
        massTextField.setPromptText("Mass in g (Between 0-100))");
        lengthTextField.setPromptText("Length in cm (Between 0-500)");
        
        buttonGroup_pendulum.getChildren().addAll(massTextField, lengthTextField,
                startButtonPendulum, pauseButtonPendulum, resetButtonPendulum, backButtonPendulum);        
        buttonGroup_pendulum.setPadding(new Insets(25,25,25,25));
        buttonGroup_pendulum.setSpacing(10);

        root_pendulum.setTop(buttonGroup_pendulum);
        graphGroup.getChildren().addAll(kinecticPane, potentialPane);
        root_pendulum.setTop(buttonGroup_pendulum);
        root_pendulum.setBottom(graphGroup);
        root_pendulum.getChildren().addAll(line_pendulum,circle_pendulum);   
    }