Testing Java graphics capabilities