I am new to JAVA swingWelcome. Please read the sticky post on top of the forum (How to post code). And here is another link which when followed increases the chance of receiving proper help.
how to set the whole text selected in JAVA jspinfieldI don't know a JSpinField class in java. I do, however, know the JSpinner class and can tell you how to select its text.
... new JSpinField();