private void initComponents() {
   centerLabel = new JLabel(CENTER_LABEL);
   alphaLabel = new JLabel(ALPHA_LABEL);
   centerSpinner =
       new NumberSpinner(model.getRangeStart(), model.getRangeStart(), model.getRangeEnd(), 1);
   centerSpinner.setVisualValueOffset(1 - model.rangeOrigin());
   alphaSpinner = new NumberSpinner(0.1, 0.1, 0.9, 0.1);
 }
 @Override
 public void update() {
   ((NumberSpinner.SpinnerModel) centerSpinner.getModel()).setMaximum(model.getRangeEnd());
   ((NumberSpinner.SpinnerModel) centerSpinner.getModel()).setMinimum(model.getRangeStart());
 }