if (windows.isEmpty() || (!useMDI && ((JSLFakeDesktop) proxy).toolbar != null && windows.size() == 1)) frame_count = 0;
    public void JSLFrameClosed(JSLFrameEvent e) {        windows.remove(e.getJSLFrame());        proxy.FrameClosed(e.getJSLFrame());    }