protected Patch getSelectedPatch(JComponent c) {
protected IPatch getSelectedPatch(JComponent c) {
	protected Patch getSelectedPatch(JComponent c) {	    try {		JTable t = (JTable)c;		PatchGridModel m = (PatchGridModel) t.getModel();		return m.getPatchAt(t.getSelectedRow(), t.getSelectedColumn());	    } catch (Exception e) {		ErrorMsg.reportStatus(e);		return null;	    }	}