JSLFrame oFrame = desktop.getSelectedFrame();
JSLFrame oFrame = JSLDesktop.getSelectedFrame();
    private static void saveFrameAs() {	try {	    JSLFrame oFrame = desktop.getSelectedFrame();	    File fn = showSaveDialog();	    if (fn == null)		return;	    if (oFrame instanceof LibraryFrame) {		saveFrame((LibraryFrame)oFrame, fn);	    } else if (oFrame instanceof SceneFrame) {		saveFrame((SceneFrame)oFrame, fn);	    }	} catch (Exception ex) {	    ErrorMsg.reportError("Error", "Unable to Save Library", ex);	    return;	}    }