Messages.getString("PortMonitor.close.text"), //$NON-NLS-1$
new Option[] { stop, OptionDialog.CHOICE_CANCEL } );
if(opt == stop) {
for(Enumeration e = getSelectedPorts().elements(); e.hasMoreElements(); ) {
AbstractPortItem t = (AbstractPortItem)e.nextElement();
t.stop();
}
}
}
});