JMenu menu = view.getWindowsMenu();
JMenu menu = HiViewerFactory.getWindowsMenu();
    private void createWindowsMenuItems()    {        Set viewers = HiViewerFactory.getViewers();        Iterator i = viewers.iterator();        JMenu menu = view.getWindowsMenu();        menu.removeAll();        HiViewer viewer;        while (i.hasNext()) {            viewer = (HiViewer) i.next();            //if (!(viewer == model))                menu.add(new JMenuItem(new ActivationAction(viewer)));        }    }