Java: FormatPanel Tutorial
Example 1
To start let's produce a simple example, a label and a text field that looks like this.
The entire program that produces this is shown below. This is the only example that shows an entire program. Later examples will show the format, and perhaps the components.
// Create components first.
JTextField fnField = new JTextField(15);
JTextField lnField = new JTextField(15);
...
FormatPanel content = new FormatPanel(
"'First Name' $x / 'Last Name' $"
, new Component[] {fnField, lnField});















