int bankNum   = ((Scene) myModel.list.get(i)).getBankNumber(); int patchNum  = ((Scene) myModel.list.get(i)).getPatchNumber(); Patch myPatch = ((Scene) myModel.list.get(i)).getPatch();
int bankNum   = myModel.getSceneAt(i).getBankNumber(); int patchNum  = myModel.getSceneAt(i).getPatchNumber(); Patch myPatch = myModel.getPatchAt(i);
    void sendScene() {        //     ErrorMsg.reportStatus("Transfering Scene");        for (int i = 0; i < myModel.getRowCount(); i++) {            int bankNum   = ((Scene) myModel.list.get(i)).getBankNumber();            int patchNum  = ((Scene) myModel.list.get(i)).getPatchNumber();            Patch myPatch = ((Scene) myModel.list.get(i)).getPatch();            myPatch.getDriver().calculateChecksum(myPatch);            myPatch.getDriver().storePatch(myPatch, bankNum, patchNum);        }    }