Autumn 2021 | IT project individual exercise
Go to file
Oystein Kristoffer Tveit c03e62d196 Add logo 2021-09-06 00:03:01 +02:00
.vscode Laget to varianter til og la til flere tester 2021-08-18 14:53:22 +00:00
oysteikt-calc Make the application handle keyboard keys 2021-09-05 19:40:00 +02:00
.gitpod.Dockerfile Upgrade to java 16 2021-08-11 15:12:25 +00:00
.gitpod.yml Fix gitpod support 2021-09-05 21:50:42 +02:00
README.md Fix gitpod support 2021-09-05 21:50:42 +02:00
logo.png Add logo 2021-09-06 00:03:01 +02:00

README.md

Gitpod Ready-to-Code

Javafx template

A repository with three one 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 Calc.fxml is almost complete, but the controller class (in CalcController.java is pretty limited. And last, but not least, there is a TestFX-based test (in CalcAppTest.java, see the README for details about what it tests).

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 oysteikt-calc 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)