Skip to content
Snippets Groups Projects
Select Git revision
  • main default
  • hal
2 results

javafx-template

  • Clone with SSH
  • Clone with HTTPS
  • Forked from IT1901 / javafx-template
    21 commits behind, 1 commit ahead of the upstream repository.

    Gitpod Ready-to-Code

    Javafx template

    A repository with three variants of a javafx projects, with maven setup for Java 16 and JavaFX 16, and JUnit 5 (Jupiter) and TestFX for testing.

    To make the project(s) more interesting, it is the start of an RPN calculator (look for // TODO) markers). The core logic is almost implemented (in Calc.java), the fxml file (in App.fxml is almost complete, but the controller class (in AppController.java is pretty limited. And last, but not least, there is a TestFX-based test (in AppTest.java, see the README for details about what it tests).

    javafx-template

    Template for single-module, single-package javafx project.

    packages-template

    Template for single-module, multi-package javafx project.

    modules-template

    Template for multi-module, multi-package javafx project.

    Trying it out

    All projects can be tried out by cd-ing into the corresponding folder and using mvn:

    • compile with mvn compile (after cd javafx-template of course)
    • test with mvn test (it should fail until you complete the RPN calculator)
    • run with mvn javafx:run (it should open, but not work properly)