public class getBackground implements Testlet
{
public void test(TestHarness harness)
{
TestList l = new TestList(new String[]{"item"});
TestList.AccessibleTestList al =
(TestList.AccessibleTestList) l.getAccessibleContext();
l.setBackground(Color.RED);
AccessibleComponent child = (AccessibleComponent) al.getAccessibleChild(0);
harness.check(child.getBackground(), Color.RED);
l.setBackground(Color.GREEN);
harness.check(child.getBackground(), Color.GREEN);
}