For AP CS courses, consider using the linked Java API that only contains the subset of classes and methods that the AP course uses.