public void setData ( final List data ) { // Bean properties to render String [ ] properties = new String [ ] { "colour" , "shape" , "animal" } ; simpleTable . setDataModel ( new SimpleBeanListTableDataModel ( properties , data ) ) ; }
Sets the table data .