/**

Main class for the system: Creates all other classes and starts things rolling.

Assumes the existence of classes OrderQueue and OrderPrinter which contain orders and which print orders, respectively.

*/ public class APDTS { public static void main(String[] args) { OrderQueue queue = new OrderQueue(); OrderUI orderUI = new OrderUI(queue, new OrderPrinter()); TrackingDisplayUI trackingUI = new TrackingDisplayUI(); /* Suggested interface: queue.addObserver(trackingUI); */ orderUI.show(); } }