Prerequisites
Importing the project into IntelliJ
File
> Close Project
to close the existing project dialog first).Configure
> Structure for new Projects
(in older versions of Intellij:Configure
> Project Defaults
> Project Structure
).New...
and select the directory where you installed JDK 11.OK
.Import Project
.OK
.Create project from existing sources
and click Next
.Next
.Next
.Finish
.dukeclasses.Duke Increment | Tutorial |
---|---|
A-Gradle |
Gradle Tutorial |
A-TextUiTesting |
Text UI Testing Tutorial |
Level-10 |
JavaFX tutorials: → Part 1: Introduction to JavaFX → Part 2: Creating a GUI for dukeclasses.Duke → Part 3: Interacting with the user → Part 4: Introduction to FXML |
Credit to Jeffry Lum for the fxml and java files for JAVAFX GUI - JavaFx TutorialPart 4.
Acknowledgements FastReader.java was adapted from https://www.javatips.net/api/AlgoDS-master/src/timus/FastReader.java. However, I tweaked some components to cater to my own needs.
Thanos Image for GUI is from https://www.theverge.com/2018/4/16/17243794/avengers-infinity-wars-thanos-origin-story-marvel
Tony Stark Image is from https://pngimage.net/tony-stark-png-5/
Edith Image is from https://www.amazon.com/Glasses-Sticker-Trucks-Laptop-NOK163/dp/B07VS9NPPL
Solution for closing GUI window is adapted from https://stackoverflow.com/questions/52393982/javafx-problem-with-platform-runlater-delayed-rendering-of-canvas-graphic