AbstractButton abstractButton = (AbstractButton) component;
if (actionListener == null) actionListener = createActionListener();
abstractButton.addActionListener(actionListener);
}
else if (component instanceof CheckBoxList) {
CheckBoxList checkBoxList = (CheckBoxList) component;
if (actionListener == null) actionListener = createActionListener();
checkBoxList.addActionListener(actionListener);
} else if (component instanceof JTextField) {
JTextField textField = (JTextField) component;
if (documentListener == null) documentListener = createDocumentListener();
textField.getDocument().addDocumentListener(documentListener);
} else if (component instanceof JComboBox) {