filename=file; java.io.FileInputStream f = new java.io.FileInputStream(file); java.io.ObjectInputStream s = new java.io.ObjectInputStream(f); myModel.sceneList=(java.util.ArrayList)s.readObject(); for (int i=0; i<myModel.sceneList.size();i++) ((Scene)myModel.sceneList.get(i)).getPatch().chooseDriver();
filename = file; FileInputStream f = new FileInputStream(file); ObjectInputStream s = new ObjectInputStream(f); 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;        java.io.FileInputStream f = new java.io.FileInputStream(file);        java.io.ObjectInputStream s = new java.io.ObjectInputStream(f);        myModel.sceneList=(java.util.ArrayList)s.readObject();        for (int i=0; i<myModel.sceneList.size();i++)            ((Scene)myModel.sceneList.get(i)).getPatch().chooseDriver();        s.close();        f.close();        PatchEdit.hideWaitDialog();    }