private Enablable enabledStateTracker;
public ParentChildSelector(DatabaseObject[] objects, JoinChecker validator) {
this.validator = validator;
parentSelector = new KongaComboBox(objects);
parentSelector.setRenderer(new ParentRenderer());
childSelector = new KongaComboBox(objects);
childSelector.setRenderer(new ChildRenderer());
parentSelector.addActionListener(new ParentListener());
childSelector.addActionListener(new ChildListener());
parentSelector.setSelectedIndex(-1);
childSelector.setSelectedIndex(-1);