posted 22 years ago
Hi all
Just thought that I would introduce you all to JSpinner, a new feature in J2SDK 1.4.
JSpinner provides the arrow interface to increment a value in a textfield. An example of this is in your windows date/time settings, you'll see that you can adjust the year by moving the little arrows to the right of the textbox.
I'm surprised that earlier versions of the J2SDK did not implement this, but at least they have now.
Well here is a bit of sample code, enjoy.
Al