public class HelloApplication extends Application {
@Override
public void start(Stage stage) throws IOException {
FXMLLoader fxmlLoader = new FXMLLoader(HelloApplication.class.getResource("hello-view.fxml"));
Scene scene = new Scene(fxmlLoader.load());
stage.setTitle("Eco del Perlasca");
stage.setScene(scene);
stage.show();
}
public static void main(String[] args) {
launch();
}
}