fixes with Textfield instead of JSpinner