DateSpinner, hex and formatted dollar input for Java JSpinner.

Spinner consists of source for classes for a DateSpinner and to add hex and formatted dollar input/output for Java JSpinner to your own Java programs. Spinner offers two NumberFormatter classes you can use with a JSpinner. One is HexNumberFormatter which lets your JSpinner range over hex values. The other is DollarNumberFormatter which lets your JSpinner range over dollar values. It works better than JSpinner.NumberEditor with a DecimalFormat String since DollarNumberFormatter displays the $ without requiring it on input. Further, DollarNumberFormatter automatically rounds all values to the nearest penny. The program does nothing on its own other that demonstrate the use of the three classes. The classes are designed to be used in your own programs. Why the double arrow icon? That's what the up/down control on a Java JSpinner looks like.

Changes: Now has a DateSpinner

Minimum requirements: Java 1.7+

Operating system: Java,Linux,Mac OS X,Unix,Win2000,Win7 x32,Win7 x64,WinServer,WinVista,WinVista x64,WinXP

Program URL: http://mindprod.com/products1.html#SPINNER

Spinner screenshot


Special permissions

You may include Spinner CD compilation. You may not sell Spinner It is free.


This program is for non-military use only. For details on what that licencing restriction means and why I restricted this software that way, see http://mindprod.com/contact/nonmil.html If you incorporate any of my code in your programs, they too must be marked for non-military use only. However it is not your responsibility to enforce that restriction.

Read more