Using Swing to write a GUI for the text editor
Using a layered design and iterative development, a line editor evolves into a text editor in this new article series.
Packaging commands as objects and sending them to a receiver enables a clean, loosely coupled design that’s easy to maintain.
Add functionality to a class without modifying it.
Elegantly manage state transitions without large switches or numerous if statements.
Perform one or more operations on a collection of different
data types without disrupting existing code.
A good solution when you need to enable or mediate access to objects, either local or remote