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