The text area sample displays the character string of the result edited conforming to the specified edit format using the JFTextArea class.
The text sample uses the following classes:
JFTextArea
JFGroupbox
JFTabPanel
JFPanel
Figure 1.12 Text area sample
Operation method
Specifies the display character string option with the tab panel.
JFTextArea
Entering the character string displays the result conforming to the specified option.
Inputting enabled characters
Specify the enterable character types by clicking the check box. Specifiable character types are as follows; however, character types character types without check marks in their check boxes cannot be entered.
Character types: Lower case/Upper case/Digit/Special/MultiByte
Changing the enterable character types clears the displayed character strings.
Max length of inputted characters
Specify the number of enterable characters.
Foreground/Background color
Specify the foreground and background colors of the input character string.
Specifying the color is the same as the Figure 1.29 Color selection sample specification method.
Border
Specify the type and color of gridlines. Specifiable types are as follows:
Types of gridlines: Nothing/Convex/Flat/Concave
Specifying the color is the same as the Figure 1.29 Color selection sample specification method.
Underline
Specify the type and color of the underline. Specifiable types are as follows:
Underline types: Nothing/Sunken/Flat/Raised
Specifying the color is the same as the Figure 1.29 Color selection sample specification method.
Insert mode
Specify the input method. Specifiable types are as follows:
Input method: Insert/Overwrite
Scrollbar Visibility
Specify how to display the scroll bar. Specifiable types are as follows:
Scroll bar display: Both/Horizontal Only/Vertical Only(Linewrap)/None(Linewrap)
Source codes
Text area sample:"Sample Storage Destinations"/jftextarea/JFTextAreaSample.java