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