Patch p, q;
IPatch p, q;
    void deleteDuplicates() {	Collections.sort(myModel.list, new SysexSort());	int numDeleted = 0;	Patch p, q;	Iterator it = myModel.list.iterator();	p = (Patch) it.next();	while (it.hasNext()) {	    q = (Patch) it.next();	    if (Arrays.equals(p.sysex, q.sysex)) {		it.remove();		numDeleted++;	    } else		p = q;	}	JOptionPane.showMessageDialog(null, numDeleted + " Patches were Deleted",				      "Delete Duplicates", JOptionPane.INFORMATION_MESSAGE);	myModel.fireTableDataChanged();	statusBar.setText(myModel.getRowCount() + " Patches");    }