License: Freeware $0.00 OS: Java,Linux,Mac OS X,Unix,Win2000,Win7 x32,Win7 x64,WinServer,WinVista,WinVista x Requirements: Java 1.5+ Publisher: Canadian Mind Products Homepage: http://mindprod.com
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.