- Origin Developed as part of a course in Java, UML and Design Patterns at Karlstad University.
- Objective A drawing program where users can draw different shapes with chosen line width/line color/fill color. Implements several distinct design patterns.
- Status 🟢 Complete/Functional
- This app was integrated against a pre-made composite-pattern (model/composite)
- v4 contains the initial integration
- v4.1 contains the complete drawing program
- Logic MVC
- Tech Stack Java + Java Swing (Eclipse IDE)
- Draw different shapes (circle, line, rectangle)
- Pick line width, -color, -thickness and fill color.
- Data persistence throuch object serialization (.dat)
- Distinct design patterns implemented and where to look for them:
- Chain of responsibility (app/controller/chain)
- Composite (model/composite)
- State (model/state)
- Visitor (model/visitor)
- Facade (model)
- Command (controller/commands)
- Clone the repository
- Open in IDE of your choice
- Implementing Gang of Four design patterns in a Java setting
- Creating a layered MVC structure from scratch
- Integrating with legacy code (the pre-existing composite)