1 package autolaskuri.bind;
3 import javafx.application.Application;
4 import javafx.stage.Stage;
5 import javafx.scene.Scene;
6 import javafx.scene.layout.Pane;
7 import javafx.fxml.FXMLLoader;
17 public void start(Stage primaryStage) {
19 FXMLLoader ldr =
new FXMLLoader(getClass().getResource(
"AutolaskuriView.fxml"));
20 final Pane root = ldr.load();
22 Scene scene =
new Scene(root);
23 scene.getStylesheets().add(getClass().getResource(
"autolaskuri.css").toExternalForm());
24 primaryStage.setScene(scene);
25 primaryStage.setTitle(
"Autolaskuri");
27 }
catch(Exception e) {
35 public static void main(String[] args) {