super(container);
initComponents();
initUI();
panelSelColl.setOnlyShedule(true);
final DirectoryCollaborator collDir = DirectoryLocator.getDirectory(DirectoryCollaborator.class);
panelSelColl.addContentStateListener(new ContentStateListener() {
@Override
public void contentStateChanged() {
DirectoryCollaboratorItem item = panelSelColl.getSelectedItem();
int id = item == null ? 0 : item.getID();
try {
chooseDone(0, id);
} catch (ChoosePanelComboException ex) {
try {
int collID = sil.getCollaborator().getID();
panelSelColl.setSelectedCollaborator(collID == 0
? null : collDir.getItemFromID(collID));
} catch (DirectoryItemNotFoundException ex1) {
MessageBox.showException(ex1);
}
}
}