| iNTERFACEWARE Products Manual > Installing and Using Chameleon > Language API Documentation > Java Support > Generating a Message | 
|   | Looking for Iguana v.5 or v.6?   Learn More or see the Help Center. 
 It's straightforward to create a message and populate it with data in Chameleon. First you must create a instance of the message. The constructor for each custom message object requires an instance of an Engine object. The Engine object must have been pre-loaded with the same message definition file used to create the message object. 
 The tables in the message are then populated by using addRow() to add rows, and the set<field name>(...) methods to assign values to the table columns. We'll give a simple code example for creating the following message: 
 The Table Grammar of the message is shown below:  Table Grammar 
 |