PatchEdit.desktop.registerFrame(this);
JSLDesktop.registerFrame(this); frame_count++;
    public JSLFrame() {	if (useIFrames)	    proxy = new JSLIFrame(this);	else	    proxy = new JSLJFrame(this);	if (PatchEdit.desktop != null)	    PatchEdit.desktop.registerFrame(this);    }