JavaFX don't send me to next scene
<p>I want to move to next stage after Timer but when I run the page is frozen.</p>

<p>I want some help please to resolve this problem, I'm new in JavaFX .</p>

<p>I want to go to next screen after a specific time that I choose because this screen is a load screen</p>

<p>this is my code:</p>

<pre><code>/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package chapitreapp;

import ressources.FadeInLeftTransition;
import ressources.FadeInRightTransition;
import ressources.FadeInTransition;
import ressources.config;
import ressources.config2;
import java.net.URL;
import java.util.ResourceBundle;
import java.util.concurrent.TimeUnit;
import javafx.application.Platform;
import javafx.concurrent.Service;
import javafx.concurrent.Task;
import javafx.concurrent.WorkerStateEvent;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.control.Label;
import javafx.scene.image.ImageView;
import javafx.scene.input.MouseEvent;
import javafx.scene.layout.VBox;
import javafx.scene.text.Text;
import javafx.stage.Stage;
import javafx.stage.StageStyle;
import org.springframework.beans.*;
import org.springframework.context.*;


/**
 * FXML Controller class
 *
 * @author anas
 */
public class LoadController implements Initializable {
    @FXML
    private Text lblWelcome;
    @FXML
    private Text lblRudy;
    @FXML
    private VBox vboxBottom;
    @FXML
    private Label lblClose;
    Stage stage;
    @FXML
    private ImageView imgLoading;
    /**
     * Initializes the controller class.
     * @param url
     * @param rb
     */
    @Override
    public void initialize(URL url, ResourceBundle rb) {
        longStart();
        lblClose.setOnMouseClicked((MouseEvent event) -&gt; {
            Platform.exit();
            System.exit(0);
        });
        // TODO

    }   

    private void longStart() {
        Service&lt;ApplicationContext&gt; service = new Service&lt;ApplicationContext&gt;() {
            @Override
            protected Task&lt;ApplicationContext&gt; createTask() {
                return new Task&lt;ApplicationContext&gt;() {           
                    @Override
                    protected ApplicationContext call() throws Exception {
                        ApplicationContext appContex = config.getInstance().getApplicationContext();
                        int max = appContex.getBeanDefinitionCount();
                        updateProgress(0, max);
                        for (int k = 0; k &lt; max; k++) {
                          try
                          {
                                Thread.sleep(50);
                             updateProgress(k+1, max);

                           }
                           catch(InterruptedException e)
                           {
                                    System.exit(0);
                           }
                        }
                        return appContex;
                    }
                };
            }
        };

        service.start();
        service.setOnRunning((WorkerStateEvent event) -&gt; {
            new FadeInLeftTransition(lblWelcome).play();
            new FadeInRightTransition(lblRudy).play();
            new FadeInTransition(vboxBottom).play();
        });
        service.setOnSucceeded((WorkerStateEvent event) -&gt; {

            config2 config = new config2();
            config.newStage(stage, lblClose, "/chapitreapp/FXMLDocument.fxml", "Sample Apps", true, StageStyle.UNDECORATED, false);
        });
    } 
}
</code></pre>

<p>where did I go wrong?</p>