Autumn 2021 | IT project individual exercise
Go to file
Hallvard Trætteberg b643a36ab5 Laget to varianter til og la til flere tester 2021-08-18 14:53:22 +00:00
.vscode Laget to varianter til og la til flere tester 2021-08-18 14:53:22 +00:00
javafx-template Laget to varianter til og la til flere tester 2021-08-18 14:53:22 +00:00
modules-template Laget to varianter til og la til flere tester 2021-08-18 14:53:22 +00:00
packages-template Laget to varianter til og la til flere tester 2021-08-18 14:53:22 +00:00
.gitpod.Dockerfile Upgrade to java 16 2021-08-11 15:12:25 +00:00
.gitpod.yml Upgrade to java 16 2021-08-11 15:12:25 +00:00
README.md Nå med merkelapp 2021-08-13 14:14:18 +00:00

README.md

Gitpod Ready-to-Code

Javafx template

Template for single-module javafx project, with maven setup for Java 16 and JavaFX 16, and JUnit 5 (Jupiter) and TestFX for testing.

To make the project 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).

Trying it out

The project in javafx-template can be tried out in various ways:

  • 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)