Java project, part 3