windowsMenu = new JMenu("HIViewer Window"); TaskBar tb = ImViewerAgent.getRegistry().getTaskBar(); tb.addToMenu(TaskBar.WINDOW_MENU, windowsMenu);
    private HiViewerFactory()     {        viewers = new HashSet();    }