public static void TABLES()
{
ItsNatDocument itsNatDoc = null;
ItsNatComponentManager componentMgr = itsNatDoc.getItsNatComponentManager();
ItsNatHTMLTable tableComp = (ItsNatHTMLTable)componentMgr.createItsNatComponentById("compId");
DefaultTableModel dataModel = (DefaultTableModel)tableComp.getTableModel();
dataModel.addColumn("City");
dataModel.addColumn("Public square");
dataModel.addColumn("Monument");
dataModel.addRow(new String[] {"Madrid","Plaza Mayor","Palacio Real"});
dataModel.addRow(new String[] {"Sevilla","Plaza de Espa�a","Giralda"});
dataModel.addRow(new String[] {"Segovia","Plaza del Azoguejo","Acueducto Romano"});
ListSelectionModel rowSelModel = tableComp.getRowSelectionModel();
ListSelectionModel columnSelModel = tableComp.getColumnSelectionModel();
rowSelModel.setSelectionMode(ListSelectionModel.SINGLE_INTERVAL_SELECTION);
columnSelModel.setSelectionMode(ListSelectionModel.SINGLE_INTERVAL_SELECTION);
tableComp.setRowSelectionAllowed(true);
tableComp.setColumnSelectionAllowed(false);
rowSelModel.addListSelectionListener(new TableRowSelectionDecoration(tableComp));
rowSelModel.setSelectionInterval(1,1);