Note: For an example, see the attached “Sample GUI.”
3. Use a two-dimensional array to store the entered minutes tutored and earnings
received information for each tutoring session, as illustrated in the attached “Two-
4. Implement the “Run Report” button to iterate through the two-dimensional array
using a nested for-loop to display the earnings data to the jTextArea, as illustrated in
the attached “Earnings Entered.”
5. Implement the “Run Report” button to calculate the following:
• Total minutes tutoring provided (as a decimal number)
• Average wage per hour (in dollars and cents)
• Total earnings (in dollars and cents)
• Wage analysis, determined based on comparison of average per hour earnings and
current minimum wage, using the following logic:
- if average wages per hour is < minimum wage, then below average
- if average wages per hour is ≥ minimum wage AND ≤ minimum wage × 2.00,
- if average wages per hour is > minimum wage × 2.00, then above average
6. Display resulting calculations in GUI text area in the required format, as illustrated in
the attached “Calculations Display.”
Note: All results from calculations should be viewable in the text area. Consider
appending to the text area as you write out information.
7. Use exceptions to handle invalid user entries for the following situations:
• If minutes entered is less than or equal to zero, throw exception.
• Tutors should not tutor for longer than 4 hours per day. If minutes entered is
greater than 60 × 4 = 240 minutes, throw exception.
• Tutors must be paid for their tutoring service. If earnings entered is not greater
than or equal to zero, throw exception.
Note: The program should not terminate abruptly if any of these situations are
encountered. The application should print a message “Invalid input. Please try
again.” and let the user continue using the application.
8. Use single-line and multiline comments to explain program flow.
B. When you use sources, include all in-text citations and references in APA format.
Note: When bulleted points are present in the task prompt, the level of detail or support
called for in the rubric refers to those bulleted points.
Note: For definitions of terms commonly used in the rubric, see the Rubric Terms web link
included in the Evaluation Procedures section.
Note: When using sources to support ideas and elements in a paper or project, the
submission MUST include APA formatted in-text citations with a corresponding reference list
for any direct quotes or paraphrasing. It is not necessary to list sources that were consulted
if they have not been quoted or paraphrased in the text of the paper or project
Note: No more than a combined total of 30% of a submission can be directly quoted or
closely paraphrased from sources, even if cited correctly. For tips on using APA style, please
refer to the APA Handout web link included in the General Instructions section.