{
DefaultTableModel tm = new DefaultTableModel(new String[] {"AA", "BB", "CC"}, 3);
JTable t = new JTable(tm);
JTableHeader th = t.getTableHeader();
AccessibleContext ac = th.getAccessibleContext();
Accessible ac0 = ac.getAccessibleChild(0);
harness.check(ac0.getClass().getName().endsWith("AccessibleJTableHeaderEntry"));
AccessibleComponent ac0ac = ac0.getAccessibleContext().getAccessibleComponent();
DefaultTableCellRenderer r0 = new DefaultTableCellRenderer();
harness.check(ac0ac.getFont(), r0.getFont());
MyTableCellRenderer r = new MyTableCellRenderer();
r.setFont(new Font("Dialog", Font.BOLD, 15));
t.getColumnModel().getColumn(1).setHeaderRenderer(r);
Accessible ac1 = ac.getAccessibleChild(1);
harness.check(ac1.getClass().getName().endsWith("AccessibleJTableHeaderEntry"));
AccessibleComponent ac1ac = ac1.getAccessibleContext().getAccessibleComponent();
harness.check(ac1ac.getFont(), new Font("Dialog", Font.BOLD, 15));
}