Skip to content
Snippets Groups Projects
Select Git revision
  • 3ef843e7985e1e45c6f68419ed9221da5fe40cfa
  • main default protected
2 results

.gitkeep

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    MainAppLauncher.java 700 B
    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 MainAppLauncher extends Application {
    
      public static void main(String[] args) {
        Application.launch(MainAppLauncher.class, args);
      }
    
      @Override
      public void start(Stage stage) {
        try {
          Parent root = FXMLLoader.load(Objects.requireNonNull(getClass().getClassLoader()
                  .getResource("MainApp.fxml")));
          stage.setScene(new Scene(root));
          stage.setTitle("Formulas");
          stage.show();
        } catch (Exception e) {
          e.printStackTrace();
        }
      }
    }