JFormattedTextField bean

JFormattedTextField is an editable text field that allows you to define a field model, which can then specify a formatter, a validator, a keystroke verifier, and data attributes.

By default, JFormattedTextField uses an AS400FieldModel, which uses an EditcodeEditwordFormatter, ComparisonRangeValidator, and NumericCharacterDocument. The default data type is character, data length is 10, and number of decimal places is 0.

JFormattedTextField has all the behaviors of a Swing JTextField, but with the following extra features:

For additional information about Swing architecture, see the following Web site:

http://java.sun.com/products/jfc/tsc/articles/architecture/index.html

Related reference
JFormatted beans
JFormatted beans - FieldModel
JFormattedTextFieldCellEditor bean
JFormattedLabel bean
JFormattedComboBox bean
DefaultFieldModel
AS400FieldModel
Related information
JFormattedTextField