Frame f = (Frame) iterator.next(); frame.hide();
Frame next = (Frame) iterator.next(); next.hide();
        public void handleQuit(ApplicationEvent event) {            Iterator iterator = WindowList.INSTANCE.iterator();            while (iterator.hasNext()) {                Frame f = (Frame) iterator.next();                frame.hide();            }            System.exit(0);        }