Here you can find the source of createSpinner()
private static JSpinner createSpinner()
//package com.java2s; //License from project: Open Source License import javax.swing.JSpinner; import javax.swing.SpinnerModel; public class Main { private static JSpinner createSpinner() { return new JSpinner(); }/*from w w w.j a v a 2 s .c om*/ private static JSpinner createSpinner(SpinnerModel model) { return new JSpinner(model); } }