// checkbox for using LONG in WHERE clause
_useLongInWhereChk.setSelected(_useLongInWhere);
// checkbox for limit/no-limit on data read during initial table load
_limitReadChk.setSelected(_limitRead);
_limitReadChk.addChangeListener(new ChangeListener(){
public void stateChanged(ChangeEvent e) {
_limitReadLengthTextField.setEnabled(_limitReadChk.isSelected());
_limitReadOnSpecificColumnsChk.setEnabled(_limitReadChk.isSelected());
_limitReadColumnNameTextArea.setEnabled(_limitReadChk.isSelected() &&
(_limitReadOnSpecificColumnsChk.isSelected()));
}
});
// fill in the current limit length
_limitReadLengthTextField.setInt(_limitReadLength);
// set the flag for whether or not to limit only on specific fields
_limitReadOnSpecificColumnsChk.setSelected(_limitReadOnSpecificColumns);
_limitReadOnSpecificColumnsChk.addChangeListener(new ChangeListener(){
public void stateChanged(ChangeEvent e) {
_limitReadColumnNameTextArea.setEnabled(
_limitReadOnSpecificColumnsChk.isSelected());
}
});