Java Applets provide a powerful technique for validating inter-field dependencies. You have access to and control over all AWT components from your Java code so you can basically implement any checks that are required. The difficulty is in creating re-useable Applets that can be used to solve many problems.
The Advantages and Disadvantages for JAVA single field validation pertain here as well. There are also these additional comments:
ADVANTAGES:
DISADVANTAGES:
The examples provided below demonstrate inter-dependent fields:
Example 1 | Demos of related Choice and TextFields (3 examples). |
Example 2 | Demo of Choice and Checkboxes |
Example 3 | Requires Java 1.1.3 support. |
Previous Module | Return to Project Main Page | Next Module |