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