Once you have finished making the desired changes to the form, you should save it to disk. If you want to retain the original form (calculateAge.xfd), you should save the modified form under a new name. This program saves the modified form as Output.xfd.
- Define the method saveForm. This method demonstrates the use of the FormNodeP method writeForm.
private static void saveForm( ) throws UWIException
- Call the Form method writeForm and pass it the new name of the form.
theForm.writeForm("Output.xfd", null, 0);
Parent topic: Developing an application in Java