Observer Pattern
Weather display application
WeatherData Class
First attempt!
Issues in 1st attempt!
Observer Pattern
Definition Observer Pattern defines a
one-to-many dependency between objects so that when one object change
state, all of its dependents are notified updated automatically.
Implementing Weather Station
Implementing Subject Interface
Building Display Elements
Implementing Main Method
Using Java Built-in Patterns
Reworking CurrentConditionsDisplay