Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hello, I am trying to create a GUI of GPA Calculator and would like to receive help on it. Please use Java Swing to complete

Hello, I am trying to create a GUI of GPA Calculator and would like to receive help on it.

Please use Java Swing to complete the GUI

Course Name Credit Hours Grade
x
x
x
x

Target GPA:

Current GPA:

Required GPA:

Add Blank Credit Hours Reset Calculate

-------------------------------------------------------------------------

Above is the sample output that I am picturing now.

1. Course Name and Credit Hours should be a text field so that users can simply enter course names and their credit hours.

2. Grade should be placed with combo boxes, so that users can click grade ranging from F to A (including + and - (e.g. B+ or B-).

3. "x" next to Grade indicates a reset button, that if clicked, resets all information on that row (remove inputs in course name and credit hours and change grades to N/A).

4. Target GPA is what users set their target GPA, so it also needs to be a text field. Target GPA should run fine without any inputs from course name or credit hours.

5. Current GPA will calculate and show the GPA based on what the user has entered.

6. Required GPA will calculate the amount of GPA user has to earn in order to reach Target GPA. For this, I want to add a warning statement. When Required GPA is less than 2.0, show the statement that user could take fewer credit hours. However, if Required GPA is more than 4.0, show the statement that user should try add more credit hours.

7. Add 15 Blank Credit Hours is the button that will add 15 blank credit hours, so basically I am thinking that this will add 15 more rows to initial rows (4 or 5). I would like to set the maximum rows to be 50.

8. Reset is the button that will simply remove all inputs and reset just like a beginning

9. Calculate is the button that will calculate the Current GPA, Target GPA, and Required GPA when clicked

I would really appreciate your help!

Please let me know if you need further guidelines.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

SQL Database Programming

Authors: Chris Fehily

1st Edition

1937842312, 978-1937842314

More Books

Students also viewed these Databases questions

Question

Question 1 of 4 >

Answered: 1 week ago

Question

Guidelines for Informative Speeches?

Answered: 1 week ago