if (!checkSelected()) return; IPatch p = getSelectedPatch(); if (p == null) { ErrorMsg.reportError("Error", "That patch is blank."); return; } new SysexStoreDialog(p, getSelectedPatchNum());
new SysexStoreDialog(getSelectedPatch(), getSelectedPatchNum());
    public void storeSelectedPatch() {        if (!checkSelected()) return;        IPatch p = getSelectedPatch();        if (p == null) {	    ErrorMsg.reportError("Error", "That patch is blank.");	    return;	}        new SysexStoreDialog(p, getSelectedPatchNum());    }