()
| 87 | } |
| 88 | |
| 89 | protected void errorMsg() { |
| 90 | JOptionPane.showMessageDialog(this, |
| 91 | "Illegal entry\nValue must be between " + min + " and " + |
| 92 | max + " inclusive", "Error", JOptionPane.ERROR_MESSAGE); |
| 93 | } |
| 94 | |
| 95 | public void setValue(int value) { |
| 96 | if (range_check) { |