code: @Override
      protected JComponent createEditor() {
          JComponent editor = spinner.getEditor();
          editor.setName("Spinner.editor");
          updateEditorAlignment(editor);
          return editor;
      }
docs: This method is called by installUI to get the editor component
  of the <code>JSpinner</code>.  By default it just returns
  <code>JSpinner.getEditor()</code>.  Subclasses can override
  <code>createEditor</code> to return a component that contains
  the spinner's editor or null, if they're going to handle adding
  the editor to the <code>JSpinner</code> in an
  <code>installUI</code> override.
  <p>
  Typically this method would be overridden to wrap the editor
  with a container with a custom border, since one can't assume
  that the editors border can be set directly.
  <p>
  The <code>replaceEditor</code> method is called when the spinners
  editor is changed with <code>JSpinner.setEditor</code>.  If you've
  overriden this method, then you'll probably want to override
  <code>replaceEditor</code> as well.
  
  @return the JSpinners editor JComponent, spinner.getEditor() by default
  @see #installUI
  @see #replaceEditor
  @see JSpinner#getEditor