Java III class project