Write a java applet that displays and maintains a report card (The applet will contain information regarding the student (id, name, year, course, and semester) and also a panel that contains a table of subject and grade information. Each row will contain the course catalog number (e.g., En 11), number of units (e.g., 3), a letter grade(e.g., B+), and a numeric grade (e.g., 3.5). Catalog number, units, and letter grade are textfields (for input) while the numeric grade will be a label or an uneditable textfield (derived from letter grade). There should be portions in the applet that display total units, total quality point and QPI. Finally, the applet should have two buttons: A "Compute QPI" button that causes the totals and QPI to appear; and a "Sort" button that sorts the subject rows according to grade (from highest to lowest). You may assume a maximum of ten subjects. You will create three classes for this assignment: Subject: a class for subject objects. You will create ten of these objects from the applet. ReportCardApplet: The actual applet. ReportCard: An application version of this assignment. Equivalent numeric grades: A = 4.0, B+ = 3.5, B = 3.0, C+ = 2.5, C = 2.0, D+ = 1.5, D = 1.0, F = 0.0, W = 0.0 QPI formula = (subject 1) units * numeric grade + (subject 2) units * numeric grade + . . . (subject 10) units * numeric grade / total number of units
Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. Complete copyrights to all work purchased.
java 2 sdk standard edition [url removed, login to view]