PlaySelectedPatch();
playSelectedPatch();
    private JTable createTable() {        myModel = new SceneListModel(changed);        final JTable table = new JTable(myModel);        table2 = table;		// What's this?        rowEditor = new SceneTableCellEditor(table);        table.setPreferredScrollableViewportSize(new Dimension(500, 70));	table.addMouseListener(new MouseAdapter() {		public void mousePressed(MouseEvent e) {		    if (e.isPopupTrigger()) {			PatchEdit.showMenuPatchPopup(table2, e.getX(), e.getY());			table2.setRowSelectionInterval			    (table2.rowAtPoint(new Point(e.getX(), e.getY())),			     table2.rowAtPoint(new Point(e.getX(), e.getY())));		    }		}		public void mouseReleased(MouseEvent e) {		    if (e.isPopupTrigger()) {			PatchEdit.showMenuPatchPopup(table2, e.getX(), e.getY());			table2.setRowSelectionInterval			    (table2.rowAtPoint(new Point(e.getX(), e.getY())),			     table2.rowAtPoint(new Point(e.getX(), e.getY())));		    }		}		public void mouseClicked(MouseEvent e) {		    if (e.getClickCount() == 2) {			PlaySelectedPatch();		    }		}	    });	//table.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);	table.setTransferHandler(pth);	table.setDragEnabled(true);        TableColumn column = null;        column = table.getColumnModel().getColumn(SYNTH);        column.setPreferredWidth(50);        column = table.getColumnModel().getColumn(TYPE);        column.setPreferredWidth(50);        column = table.getColumnModel().getColumn(PATCH_NAME);        column.setPreferredWidth(100);        column = table.getColumnModel().getColumn(BANK_NUM);        column.setPreferredWidth(50);        column.setCellEditor(rowEditor); // Set the special pop-up Editor for Bank numbers        column = table.getColumnModel().getColumn(PATCH_NUM);        column.setPreferredWidth(50);        column.setCellEditor(rowEditor); // Set the special pop-up Editorfor Patch Numbers        column = table.getColumnModel().getColumn(COMMENT);        column.setPreferredWidth(200);        table.getModel().addTableModelListener(new TableModelListener() {		public void tableChanged(TableModelEvent e) {		    statusBar.setText(myModel.getRowCount() + " Patches");		    if (((AbstractPatchListModel) e.getSource()).getRowCount() > 0) {			PatchEdit.saveAction.setEnabled(true);			PatchEdit.saveAsAction.setEnabled(true);			PatchEdit.searchAction.setEnabled(true);			PatchEdit.exportAction.setEnabled(true);			PatchEdit.transferSceneAction.setEnabled(true);		    }		    if (((AbstractPatchListModel) e.getSource()).getRowCount() > 1) {			PatchEdit.sortAction.setEnabled(true);			PatchEdit.deleteDuplicatesAction.setEnabled(true);			PatchEdit.crossBreedAction.setEnabled(true);		    }		}	    });        table.getSelectionModel().addListSelectionListener(new ListSelectionListener() {		public void valueChanged(ListSelectionEvent e) {		    //ErrorMsg.reportStatus ("ValueChanged"+((ListSelectionModel)e.getSource ()).getMaxSelectionIndex ());		    if (((ListSelectionModel) e.getSource()).getMaxSelectionIndex() >= 0) {			PatchEdit.extractAction.setEnabled(true);			PatchEdit.sendAction.setEnabled(true);			PatchEdit.sendToAction.setEnabled(true);			PatchEdit.playAction.setEnabled(true);			PatchEdit.storeAction.setEnabled(true);			PatchEdit.reassignAction.setEnabled(true);			PatchEdit.uploadAction.setEnabled(true);			Patch myPatch = myModel.getPatchAt(table.getSelectedRow());			try {			    myPatch.getDriver().getClass()				.getDeclaredMethod("editPatch", new Class[]{myPatch.getClass()});			    PatchEdit.editAction.setEnabled(true);			} catch (NoSuchMethodException ex) {			    if (myPatch.getDriver() instanceof BankDriver)				PatchEdit.editAction.setEnabled(true);			    else				PatchEdit.editAction.setEnabled(false);			}			PatchEdit.copyAction.setEnabled(true);			PatchEdit.cutAction.setEnabled(true);			PatchEdit.deleteAction.setEnabled(true);			PatchEdit.exportAction.setEnabled(true);		    } else {			PatchEdit.extractAction.setEnabled(false);			PatchEdit.sendAction.setEnabled(false);			PatchEdit.sendToAction.setEnabled(false);			PatchEdit.playAction.setEnabled(false);			PatchEdit.storeAction.setEnabled(false);			PatchEdit.reassignAction.setEnabled(false);			PatchEdit.editAction.setEnabled(false);			PatchEdit.copyAction.setEnabled(false);			PatchEdit.cutAction.setEnabled(false);			PatchEdit.deleteAction.setEnabled(false);			PatchEdit.uploadAction.setEnabled(false);		    }		}	    });	return table;    }