|
|
|
@ -150,6 +150,7 @@ public class NumberEditorValidatePane extends JPanel {
|
|
|
|
|
setMaxListener = new ActionListener() { |
|
|
|
|
@Override |
|
|
|
|
public void actionPerformed(ActionEvent e) { |
|
|
|
|
errorMsgTextFieldPane.setVisible(setMaxValueCheckBox.isSelected() || setMinValueCheckBox.isSelected()); |
|
|
|
|
if (setMaxValueCheckBox.isSelected()) { |
|
|
|
|
maxValueSpinner.setEnabled(true); |
|
|
|
|
Double value = (double) 0; |
|
|
|
@ -171,6 +172,7 @@ public class NumberEditorValidatePane extends JPanel {
|
|
|
|
|
setMinListener = new ActionListener() { |
|
|
|
|
@Override |
|
|
|
|
public void actionPerformed(ActionEvent e) { |
|
|
|
|
errorMsgTextFieldPane.setVisible(setMaxValueCheckBox.isSelected() || setMinValueCheckBox.isSelected()); |
|
|
|
|
if (setMinValueCheckBox.isSelected()) { |
|
|
|
|
minValueSpinner.setEnabled(true); |
|
|
|
|
Double value = (double) 0; |
|
|
|
|