Skip to content

ma55530/Design-Patterns-In-Programming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Design Patterns In Programming

I developed these programs, a text editor and a paint editor, at FER's course Design Patterns (OOUP). They follow SOLID principles and various design patterns which help build maintainable and scalable code.

Projects

  • Matija's_Text_Editor - a Swing text editor that implements patterns: Observer, Command, Factory, Singleton, Strategy, MVC, and Iterator.
  • Matija's_Paint_Editor - a Swing paint editor that implements patterns: Observer, Composite, Prototype, Iterator, State, Proxy, Factory, Bridge, and Visitor.

How to run

IntelliJ IDEA

  1. Open this repository in IntelliJ IDEA.
  2. Import either Matija's_Text_Editor or Matija's_Paint_Editor as a Java module.
  3. Make sure the module's src folder is marked as the source root.
  4. Run the Main class from the selected project.

Terminal

From the Design-Patterns-In-Programming directory, compile and run the text editor:

cd "Matija's_Text_Editor"
javac -d out $(find src -name "*.java")
java -cp out Main

Compile and run the paint editor:

cd ..
cd "Matija's_Paint_Editor"
javac -d out $(find src -name "*.java")
java -cp out Main

About

These programs have been developed within the course Design Patterns at FER.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages