Description: To achieve the stock sales were at the same time with multiple customers and information and communication, when an object (stock information) to change the state, all dependent persons (customers) will receive a notification and automatic update
File list (Check if you may need any files):
stock\CurrentConditionsDisplay.class
.....\CurrentConditionsDisplay.java
.....\DisplayElement.class
.....\DisplayElement.java
.....\ForecastDisplay.class
.....\ForecastDisplay.java
.....\Observer.class
.....\Observer.java
.....\StatisticsDisplay.class
.....\StatisticsDisplay.java
.....\Stock.class
.....\Stock.java
.....\StockTest.class
.....\StockTest.java
.....\Subject.class
.....\Subject.java
stock