This month's meeting will be a source code review of an application utilizing the Observer design pattern.
Design patterns are "simple and elegant solutions to specific problems in object-oriented software design." 1
The Observer Pattern is used to display data in several forms simultaneously and automatically reflect changes in that data.
A practical use of the Observer Pattern is to display stock prices as a graph and a table, and reflect changes to the stock price in real time.
The application is based on the Observer Pattern chapter found in Java Design Patterns - A Tutorial written by James W. Cooper.
It displays three frames, and two of them change when a radio button is clicked on the main frame.
|