ISingleDriver driver = (ISingleDriver)driverComboBox.getSelectedItem(); driver.send(p);
p.setDriver((IPatchDriver) driverComboBox.getSelectedItem()); ((ISinglePatch) p).send();
    protected void doit () {        ISingleDriver driver = (ISingleDriver)driverComboBox.getSelectedItem();        driver.send(p);        setVisible(false);        dispose();    }