myModel.PatchList=(ArrayList)s.readObject(); for (int i=0; i<myModel.PatchList.size();i++) ((Patch)myModel.PatchList.get(i)).chooseDriver();
myModel.list = (ArrayList) s.readObject(); for (int i = 0; i < myModel.getRowCount(); i++) myModel.getPatchAt(i).chooseDriver();
    public void open(File file) throws Exception    {        PatchEdit.showWaitDialog();        setTitle(file.getName());        filename=file;        FileInputStream f = new FileInputStream(file);        ObjectInputStream s = new ObjectInputStream(f);        myModel.PatchList=(ArrayList)s.readObject();        for (int i=0; i<myModel.PatchList.size();i++)            ((Patch)myModel.PatchList.get(i)).chooseDriver();        s.close();        f.close();        PatchEdit.hideWaitDialog();        statusBar.setText(myModel.PatchList.size()+" Patches");    }