public void prepareDisplay(string module, bool repeatedRun)
        {
            m_module = module;
            tables.Clear();
            foreach ( Table it in allTables) {
                tables.Add(it);
            }

            Table.resetColumn(tables.Count);
            foreach ( Table it in tables) {
                TableHTML tab = new TableHTML(it);
                tab.prepareDisplay(this, m_module, repeatedRun);
            }

            // merge Positions of associations
            foreach ( PosAssociation at in posAssociations) {
                Table src = getFromId(at.connections[0]);
                if (src.getName().Length != 0) {
                    src.setPositionConstraint( at.connectionPoints[0],
                        getFromId(at.connections[1]),
                        at.obj_pos, at.obj_bb, at.orth_orient, at.orth_points);
                }
            }

            tables.Sort ();
        }