// This sample demonstrates how to enable scrolling the table rows // Create and setup a new table TableNode table = diagram.getFactory().createTableNode(10, 10, 40, 60); table.redimTable(1, 20); for (int i = 0; i < table.getRowCount(); i++) table.getCell(0, i).setText("Row" + new Integer(i).toString()); // Enable scrolling table.setScrollable(true); |