31 lines
821 B
Java
31 lines
821 B
Java
package nl.minkema.leendert;
|
|
|
|
import de.codecentric.centerdevice.javafxsvg.SvgImageLoaderFactory;
|
|
import javafx.application.Application;
|
|
import javafx.scene.Group;
|
|
import javafx.scene.Scene;
|
|
import javafx.scene.media.Media;
|
|
import javafx.scene.media.MediaPlayer;
|
|
import javafx.stage.Stage;
|
|
|
|
public class Main extends Application {
|
|
public static Scene scene;
|
|
|
|
@Override
|
|
public void start(Stage primaryStage) throws Exception {
|
|
Group root = new Group();
|
|
SvgImageLoaderFactory.install();
|
|
|
|
primaryStage.setTitle("Het spectaculaire tuinavontuur");
|
|
scene = new Scene(new Menu(), 1200, 800);
|
|
primaryStage.setScene(scene);
|
|
primaryStage.setResizable(false);
|
|
primaryStage.show();
|
|
}
|
|
|
|
|
|
public static void main(String[] args) {
|
|
launch(args);
|
|
}
|
|
}
|