The DefaultFieldModel sets the default field model properties without setting any iSeries specific default properties, as follows:
Although the dataAttributes default to a length of 10 with a character data type, since the keystrokeVerifier is set to PlainDocument, which is the default document model set in JTextField, there is no keystroke validation. However a JFormattedComponent, such as a JFormattedTextField, JFormattedComboBox or JFormattedLabel, verifies the data type, the length, and decimal places of the field even when DefaultFieldModel is used.
For more information about Swing architecture, see the following Web site:
http://java.sun.com/products/jfc/tsc/articles/architecture/index.html
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.