mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2026-08-10 00:27:00 +00:00
27 lines
670 B
Java
27 lines
670 B
Java
package com.craigraw.sparrow;
|
|
|
|
import javafx.application.Application;
|
|
import javafx.fxml.FXMLLoader;
|
|
import javafx.scene.Parent;
|
|
import javafx.scene.Scene;
|
|
import javafx.stage.Stage;
|
|
|
|
public class MainApp extends Application {
|
|
|
|
@Override
|
|
public void start(Stage stage) throws Exception {
|
|
Parent root = FXMLLoader.load(getClass().getResource("app.fxml"));
|
|
|
|
Scene scene = new Scene(root);
|
|
scene.getStylesheets().add(getClass().getResource("app.css").toExternalForm());
|
|
|
|
stage.setTitle("Sparrow");
|
|
stage.setScene(scene);
|
|
stage.show();
|
|
}
|
|
|
|
public static void main(String[] args) {
|
|
launch(args);
|
|
}
|
|
}
|