A simple gpa calculator using swing