model.insertRow(0, new Object[]{"Bob Johnson", new Integer(32), Boolean.TRUE});
model.insertRow(1, new Object[]{"Bill Simmons", new Integer(27), Boolean.TRUE});
model.insertRow(2, new Object[]{"Tracy Smith", new Integer(54), Boolean.TRUE});
model.insertRow(3, new Object[]{"Cathy Rogers", new Integer(21), Boolean.FALSE});
model.insertRow(4, new Object[]{"Xavier Doe", new Integer(77), Boolean.TRUE});
table.validate();
assertEquals(18, table.getComponentCount());
Component[] components = table.getComponents();
for (int i = 3; i < components.length; ++i) {
if (i % 3 == 2) {
assertEquals(CheckBox.class, components[i].getClass());