public JPanel getComponent() {
return mainPanel;
}
public void applyChanges() throws ConfigurationException {
DataEditorPopupSettings settings = getConfiguration();
settings.setActive(activeCheckBox.isSelected());
settings.setActiveIfEmpty(activeIfEmptyCheckBox.isSelected());
if (settings.isActive()) {
settings.setDataLengthThreshold(ConfigurationEditorUtil.validateIntegerInputValue(lengthThresholdTextField, "Length threshold", 0, 999999999, null));
settings.setDelay(ConfigurationEditorUtil.validateIntegerInputValue(delayTextField, "Delay", 10, 2000, null));
}
}