switched graphy input to JSpinner