Advanced Java school project