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