The IBM® Toolbox for Java™ ListMetaData class lets you get information about and change settings for the columns in a ListRowData class. It uses the setColumns() method to set the number of columns, clearing any previous column information. Alternatively, you can also pass the number of columns when you set the constructor's parameters.
The following example shows how ListMetaData, ListRowData and HTMLTableConverter work. It shows the Java code, HTML code, and HTML look and feel.
Example: Using ListRowData