java.io.FileOutputStream fileOut= new java.io.FileOutputStream(file); fileOut.write(((Patch)myModel.sceneList.get(table.getSelectedRow())).sysex);
FileOutputStream fileOut = new FileOutputStream(file);   fileOut.write(myModel.getPatchAt(table.getSelectedRow()).sysex);
    public void ExportPatch(File file) throws java.io.IOException, java.io.FileNotFoundException {        if (table.getSelectedRowCount()==0) {            ErrorMsg.reportError("Error", "No Patch Selected.");            return;        }        java.io.FileOutputStream fileOut= new java.io.FileOutputStream(file);        fileOut.write(((Patch)myModel.sceneList.get(table.getSelectedRow())).sysex);        fileOut.close();    }