This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
This question would probably be more appropriate in the GUI forum. However, I'll still try to answer it here. If you look at the API docs for JSpinner, you will see that it has a getValue() method to return the current value. This method returns an Object, but you can cast it to the type that you expect. If you are using SpinnerNumberModel in the JSpinner, then you can cast this Object from JSpinner.getValue() to an Integer. From there, you can get an int from the Integer object using its intValue() method.
With that said, I strongly suggest that you familiarize yourself with the Java API docs. Although I had a vague idea how to answer your question, I still had to use the API docs to look up the details of the above description. They are an invaluable tool when you are programming Java as it is nearly impossible to memorize every method in every class that is available in the standard API.