Question | Answer |
---|---|
Name and/or student ID | Ronan Farrell / L00170333 |
List of known bugs and/or omissions | No bugs, everything completed. |
Link to github repo (optional) | https://github.com/ronanj2/SoftwareCA1/ |
Any other info that you might deem important. |
A Java Swing application that can display, move, and rotate filled and outlined shapes. Implementation will involve the concepts of Inheritance, Polymorphism, Abstract Classes and Interfaces.
Notes: Java Swing Requirements can be satisfied using a JFrame containing a JPanel, with a MouseAdapter listener that handles mousePressed events (and overriding the paintComponent() method for Shape and String drawing). There are no requirements for additional UI elements such as JButtons.
Figure 1Figure 2, provided with the requirements, shows an example of what the finished program could look like
Figure 2
Figure 3 shows a screnshot of the running application from this repository.
The solution is elegant - it avoids redundancy, and is well structured.
Figure 3