l1.setText("Patch Type: "+ ((Device)(PatchEdit.appConfig.getDevice(p.deviceNum))).getManufacturerName()+" "+ ((Device)(PatchEdit.appConfig.getDevice(p.deviceNum))).getModelName()+" "+ PatchEdit.getDriver(p.deviceNum,p.driverNum).getPatchType());
l1.setText("Patch Type: "+ p.getDevice().getManufacturerName()+" "+ p.getDevice().getModelName()+" "+ p.getDriver().getPatchType());
void generatePressed(){   crossBreeder.workFromLibrary((PatchBasket)PatchEdit.desktop.getSelectedFrame());   crossBreeder.generateNewPatch();   Patch p=crossBreeder.getCurrentPatch();   try {   l1.setText("Patch Type: "+ ((Device)(PatchEdit.appConfig.getDevice(p.deviceNum))).getManufacturerName()+" "+   ((Device)(PatchEdit.appConfig.getDevice(p.deviceNum))).getModelName()+" "+   PatchEdit.getDriver(p.deviceNum,p.driverNum).getPatchType());   play();   } catch (Exception e) {/*already taken care off-- we just don't want this thrown any farther*/}}                    