Java tutorial
//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(); } private static JSpinner createSpinner(SpinnerModel model) { return new JSpinner(model); } }