JTable table = new JTable(tm);
table.getColumnModel().getColumn(2).setHeaderRenderer(
new MyBooleanTableCellRenderer());
AccessibleContext tableac = table.getAccessibleContext();
harness.check(tableac.getClass().getName().endsWith("AccessibleJTable"));
AccessibleTable at = tableac.getAccessibleTable().getAccessibleColumnHeader();
Accessible accessibleCell0 = at.getAccessibleAt(0, 0);
harness.check(accessibleCell0.getAccessibleContext().getAccessibleRole(),
AccessibleRole.LABEL);
Accessible accessibleCell1 = at.getAccessibleAt(0, 1);
harness.check(accessibleCell1.getAccessibleContext().getAccessibleRole(),
AccessibleRole.LABEL);
Accessible accessibleCell2 = at.getAccessibleAt(0, 2);
harness.check(accessibleCell2.getAccessibleContext().getAccessibleRole(),
AccessibleRole.CHECK_BOX);
}