Specific Requirements
1- Layout
The lab needs a layout in control panel with a panel on the left where the data will be typed in and a panel on the right where the data will be displayed.
The layout of panel left and of panel right should be very similar to the picture above. Very little differences are expected due to the use of different operating systems.
2- Content of Panels
Control Panel:
Has two panels (left and right) already created in the starter NetBeans package.
Left panel:
Two labels with the description of what needs to be typed for first name and last name.
It has to ask for first name and last name using JTextFields.
A label asking for the age.
It asks for the student’s age using a JSlider.
A button to display the student’s GPA.
A button to generate a random GPA.
A message button.
An OK button.
Right panel
It has a button that will display the students’ information.
It has a button to display the student GPA’s assessment.
3- Listening requirements
The OK button has to be listened in the right panel. This means that the right panel will implement the ActionListener that will be used when OK is pressed.
The listener for the GPA button has to be implemented in the left panel. This means that the left panel will implement the ActionListener that will be used when the “GPA Calculator” button is pressed.
4- Scenarios…
All the information is correct
The user types the first name
The user types the last name
The user chooses an age
The user presses the “GPA Calculator” button
The GPA is displayed on the GPA button
The OK button is pressed…
the student information is displayed on the big button on the right panel
the GPA assessed and a message is displayed in the small button on the right panel
All the information is correct
The calculated GPA is…
between 0 and 1.00…
* the GPA assessment button on the right panel becomes red.
between 1.01 and 2.00…
* the GPA assessment button on the right panel becomes pink.
between 2.01 and 3.00…
* the GPA assessment button on the right panel becomes orange.
between 3.00 and 3.50…
* the GPA assessment button on the right panel becomes green.
greater than 3.50…
* the GPA assessment button on the right panel becomes green.
* the message “You made the Dean’s List !!!!!” is displayed on the GPA assessment button.
Some information is missing
The user does not type the first name or the last name.
The OK button is pressed.
A message saying “Student name cannot be blank.” is displayed on the message button…
* “ERROR” is displayed on both buttons in the right panel.
Some information is missing
The user does not ask the GPA to be calculated (GPA value is still zero).
The OK button is pressed.
A message saying “Calculate the GPA before submitting.” is displayed on the message button…
* “ERROR” is displayed on both buttons in the right panel.
Our Advantages
Plagiarism Free Papers
All our papers are original and written from scratch. We will email you a plagiarism report alongside your completed paper once done.
Free Revisions
All papers are submitted ahead of time. We do this to allow you time to point out any area you would need revision on, and help you for free.
Title-page
A title page preceeds all your paper content. Here, you put all your personal information and this we give out for free.
Bibliography
Without a reference/bibliography page, any academic paper is incomplete and doesnt qualify for grading. We also offer this for free.
Originality & Security
At Homework Sharks, we take confidentiality seriously and all your personal information is stored safely and do not share it with third parties for any reasons whatsoever. Our work is original and we send plagiarism reports alongside every paper.
24/7 Customer Support
Our agents are online 24/7. Feel free to contact us through email or talk to our live agents.
Try it now!
How it works?
Follow these simple steps to get your paper done
Place your order
Fill in the order form and provide all details of your assignment.
Proceed with the payment
Choose the payment system that suits you most.
Receive the final file
Once your paper is ready, we will email it to you.
Our Services
We work around the clock to see best customer experience.
Pricing
Our prces are pocket friendly and you can do partial payments. When that is not enough, we have a free enquiry service.
Communication
Admission help & Client-Writer Contact
When you need to elaborate something further to your writer, we provide that button.
Deadlines
Paper Submission
We take deadlines seriously and our papers are submitted ahead of time. We are happy to assist you in case of any adjustments needed.
Reviews
Customer Feedback
Your feedback, good or bad is of great concern to us and we take it very seriously. We are, therefore, constantly adjusting our policies to ensure best customer/writer experience.