@Override
        public void handle(ActionEvent e){
            if(e.getSource().equals(startButtonPendulum)){
                startEvent();
            }else if(e.getSource().equals(pauseButtonPendulum)){
                pauseEvent();
            }else if(e.getSource().equals(resetButtonPendulum)){
                stopEvent();
            }
        }