Tutorial#10 Software Design Patterns
In this tutorial, you will do a practical exercise about Observer design pattern.
You will given a simple program which uses a GUI to display the state about a Person object. You are asked to consider how the Observer design pattern be used to ensure that the simple GUI interface can reflect the most recent state of the Person object.
You also need to write a driver program to verify that what you have done is correct in action.
References:
Observer (Java 2 Platform SE v1.4.2)
Observable (Java 2 Platform SE v1.4.2)
Java Programmer’s SourceBook : Thinking in Java : The observer pattern
Update:
More reference for Observer pattern in Java:
Building Graphical User Interfaces with the MVC Pattern
* * *
No comments yet
Sorry, the comment form is closed at this time.