| Demonstrates different configurations of JFormattedTextField
to display and edit numbers. Shows
- how to use a custom NumberFormat
- how to use a custom NumberFormatter
- how to use a custom FormatterFactory
- how to reset a number to
null
- how to map the empty string to a special number
- how to commit values on valid texts
- how to set the class of the result
To look under the hood of this component, this class exposes
the bound properties text, value and editValid.
author: Karsten Lentzsch version: $Revision: 1.18 $ See Also: JFormattedTextField See Also: JFormattedTextField.AbstractFormatter |