Back to Java Users Group Home Print this page

Java Users Group

October 2002 Meeting Information

October 8, 2002
A Practical Use of the Observer Design Pattern

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.

Subject Window Colors Window Color List Window

1 Erich Gamma...[et al.]. Design Patterns - Elements of Reusable Object-Oriented Software, 1995

Meetings are held every second Tuesday of the month at the Scotch Plains Rescue Squad second floor meeting hall starting promptly at 7:30pm. Meetings are open to the public, and visitors are encouraged to join ACGNJ.

SIG Leader Mike Redlich
E-Mail mike@redlich.net
Phone: (908) 246-0410