}
    public void ImportPatch(File file) throws IOException,FileNotFoundException    {        int i;        FileInputStream fileIn= new FileInputStream(file);        byte [] buffer =new byte [(int)file.length()];        fileIn.read(buffer);        fileIn.close();        Patch firstpat=new Patch(buffer);        Patch[] patarray=firstpat.dissect();        if (patarray.length>1)        { // Conversion was sucessfull, we have at least one converted patch            for (int j=0;j<patarray.length;j++)            {                myModel.PatchList.add(patarray[j]); // add all converted patches            }        }        else        { // No conversion. Try just the original patch....            if  (table.getSelectedRowCount()==0)                myModel.PatchList.add(firstpat);            else                myModel.PatchList.add(table.getSelectedRow(),firstpat);        }        myModel.fireTableDataChanged();        changed=true;        statusBar.setText(myModel.PatchList.size()+" Patches");    }