Community articleForm Library summary
Added by IBM contributorIBM on May 6, 2011
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars




By working through this section you have successfully built the Calculate Age application. In the process, you have learned how to initialize, compile, and test form applications using the following methods from the Form Library:
  • initialize
  • getXFDL
  • readForm
  • getLiteralByRefEx
  • setLiteralByRefEx
  • writeForm
  • destroy
The source code for the Calculate Age application is included with this API and can be found in the following folder:

   <API Program folder>\Samples\Java™\Form\Demo\Calculate_Age\


For a longer example using the Form Library of methods refer to the other sample application installed with the API. The source files for this application are located in the following folder:

   <API Program folder>\Samples\Java\Form\Demo\Sample_Application\


To view the forms provided with the sample applications, you must have a copy of the Viewer installed.

Parent topic: Developing an application in Java