WillySeahh / duke

Edith Code
https://willyseahh.github.io/duke/
0 stars 0 forks source link

Setting up

Prerequisites

Importing the project into IntelliJ

  1. Open IntelliJ (if you are not in the welcome screen, click File > Close Project to close the existing project dialog first).
  2. Set up the correct JDK version.
    • Click Configure > Structure for new Projects (in older versions of Intellij:Configure > Project Defaults > Project Structure).
    • If JDK 11 is listed in the drop down, select it. If it is not, click New... and select the directory where you installed JDK 11.
    • Click OK.
  3. Click Import Project.
  4. Locate the project directory and click OK.
  5. Select Create project from existing sources and click Next.
  6. Rename the project if you want. Click Next.
  7. Ensure that your src folder is checked. Keep clicking Next.
  8. Click Finish.

Tutorials

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

Feedback, Bug Reports

Acknowledgements

Acknowledgements

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