Java final project.