public void actionPerformed(ActionEvent evt) {
if (evt.getSource() == jComboBoxClassnameCombo) {
updateOkButtonEnabled();
} else if (evt.getSource() == jButtonSelectClassname) {
if (csd == null) {
csd = new ClassSelectionDialog(this, "Select Agent class", Agent.class.getName(), new AgentClassFilter());
}
List l = new ArrayList(1);
l.add(0, "jade.core.Agent");
if (csd.doShow(l) == ClassSelectionDialog.DLG_OK) {
setClassName(csd.getSelectedClassname());