cells.add(new Cell("Revoked", true));
cells.add(new Cell("Expires", true));
cells.add(new Cell("Login", true));
cells.add(new Cell("Revoked", true));
cells.add(new Cell("Expires", true));
cells.add(new Cell("Login", true));
cells.add(new Cell(rs.getString("a"), false));
cells.add(new Cell(rs.getString("a"), false));
}
cells.add(new Cell(rs.getString("a"), false));
cells.add(new Cell(rs.getString("a"), false));
}
- DataTable t = new DataTable() {
-
- @Override
- protected LinkedList<Cell> getTableContent() {
- return cells;
- }
-
- @Override
- protected int getColoumnCount() {
- return 8;
- }
- };
+ DataTable t = new DataTable(9, cells);