school project in java se 7.1