|
|
@ -255,7 +255,6 @@ public class NumberEditorValidatePane extends JPanel { |
|
|
|
allowNegativeCheckBox.setSelected(e.isAllowNegative()); |
|
|
|
allowNegativeCheckBox.setSelected(e.isAllowNegative()); |
|
|
|
if (AssistUtils.equals(e.getMaxValue(),Double.MAX_VALUE)) { |
|
|
|
if (AssistUtils.equals(e.getMaxValue(),Double.MAX_VALUE)) { |
|
|
|
setMaxValueCheckBox.setSelected(false); |
|
|
|
setMaxValueCheckBox.setSelected(false); |
|
|
|
maxValueSpinner.setValue(Double.MAX_VALUE); |
|
|
|
|
|
|
|
maxValueSpinner.setEnabled(false); |
|
|
|
maxValueSpinner.setEnabled(false); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
setMaxValueCheckBox.setSelected(true); |
|
|
|
setMaxValueCheckBox.setSelected(true); |
|
|
@ -265,7 +264,6 @@ public class NumberEditorValidatePane extends JPanel { |
|
|
|
|
|
|
|
|
|
|
|
if (AssistUtils.equals(e.getMinValue(),-Double.MAX_VALUE)) { |
|
|
|
if (AssistUtils.equals(e.getMinValue(),-Double.MAX_VALUE)) { |
|
|
|
setMinValueCheckBox.setSelected(false); |
|
|
|
setMinValueCheckBox.setSelected(false); |
|
|
|
minValueSpinner.setValue(-Double.MAX_VALUE); |
|
|
|
|
|
|
|
minValueSpinner.setEnabled(false); |
|
|
|
minValueSpinner.setEnabled(false); |
|
|
|
|
|
|
|
|
|
|
|
} else { |
|
|
|
} else { |
|
|
|