- Add Increment:
Level-10
- Release a new JAR file
1 Add Increment: Level-10
Duke
Level-10
: Add a GUI Level 10. GUI
Add a GUI to Duke. Use the JavaFX technology to implement the GUI.
Refer to the JavaFX tutorial @SE-EDU/guides to learn how to get started with JavaFX.
There are two non-trivial steps to take here:
- earning JavaFX basics
- creating a GUi for Duke
You are cautioned against trying to do both in one go. Instead, complete the JavaFX tutorial as a separate project before adding a GUI to Duke.
- Note that you no longer need to keep the text-based UI after adding a GUI. Similarly, there is no need to use the I/O redirection style automated testing anymore (that technique is suited for text UIs only).
2 Release a new JAR file
- Generate a new JAR file using Gradle (Gradle can bundle the JavaFX third-party library into the jar file. If you do not bundle JavaFX with the JAR file, the application will not work in computers that don't have JavaFX installed). Refer to the Gradle tutorial @SE-EDU/guides to find how.
If the.jar
file is smaller than 10MB, most likely JavaFX libraries are not inside it. - Make a new release on GitHub and upload the JAR file. You may use any appropriate version number for it.