For the Fun of It: Writing Your Own Text Editor, Part 2

Using Swing to write a GUI for the text editor

For the Fun of It: Writing Your Own Text Editor, Part 1

Using a layered design and iterative development, a line editor evolves into a text editor in this new article series.

The Command Pattern in Depth

By Ian Darwin Design Patterns

Packaging commands as objects and sending them to a receiver enables a clean, loosely coupled design that’s easy to maintain.

The Decorator Pattern in Depth

By Ian Darwin Design Patterns

Add functionality to a class without modifying it.

The State Pattern

By Ian Darwin Design Patterns

Elegantly manage state transitions without large switches or numerous if statements.

The Visitor Design Pattern in Depth

By Ian Darwin Design Patterns

Perform one or more operations on a collection of different data types without disrupting existing code.

The Proxy Pattern

A good solution when you need to enable or mediate access to objects, either local or remote