/** * Control.notifySubscribers calls the update() method of every object on the subscriber list, as * long as they are an Object of one of the known subscriber types (as of release, this is only * the ChronoTimerGUI class) */ private void notifySubscribers() { for (Object o : subscribers) { if (o instanceof ChronoTimerGUI) ((ChronoTimerGUI) o).update(); } }