PatchEdit.waitDialog.hide();
PatchEdit.hideWaitDialog();
    private void revalidateLibraries() {	JSLFrame[] jList = JSLDesktop.getAllFrames ();	if (jList.length > 0) {	    PatchEdit.waitDialog.show();	    for (int i = 0; i < jList.length; i++) {		if (jList[i] instanceof LibraryFrame)		    ((LibraryFrame) (jList[i])).revalidateDrivers();		else if (jList[i] instanceof BankEditorFrame)		    ((BankEditorFrame) (jList[i])).revalidateDriver();		else if (jList[i] instanceof PatchEditorFrame)		    ((PatchEditorFrame) (jList[i])).revalidateDriver();	    }	    PatchEdit.waitDialog.hide();	}    }