package viewer; import javafx.application.Application; import javafx.fxml.FXMLLoader; import javafx.scene.Parent; import javafx.scene.Scene; import javafx.stage.Stage; import java.util.Objects; public class Main extends Application { @Override public void start(Stage primaryStage) throws Exception { Parent root = FXMLLoader.load(Objects.requireNonNull(getClass().getClassLoader().getResource("viewer/viewer.fxml"))); primaryStage.setTitle("Mandelbrot"); primaryStage.setScene(new Scene(root, 1200, 900)); primaryStage.show(); } public static void main(String[] args) { launch(args); } }