The Observer Pattern - An Example: Java Design Patterns and Architecture, Part 7

We'll take a look at an example of using the observer pattern before moving on to implementing it from scratch in the next tutorial. It's easiest to remember all the different bits the observer pattern involves if you can keep in mind a simple example, such as adding a listener to a button.