subject

What you will learn layouts: the organization of graphical components inside a panel. deliverables app. java (initial application) mainframe. java (external jframe) controlpanel, a java class for the panel that will contain two other panels, using a layout. toppanel, a java class for the panel that will display the group’s name and group's average gpa centerpanel, a java class for the panel that will display names and semester gpas of the 4 students in a group. group. java and student. java (a working version from previous labs, might need updates, see important #2 below). students should apply consistent indenting in all submissions. this can be done via the netbeans source menu. contents you can start with this netbeans project. you will create 3 panels and one group object. one panel contains two other panels. on a top panel you will display the group's name and average gpa. the center panel will contain 4 buttons displaying the group 4 students name and gpa. important - #1 - the single group object you will create only one group object g1 in this assignment. there will be only one statement group g1 = new ; in the whole application. since two panels need to be used, g1 will need to be created somewhere and then pass the object g1 as a parameter to other classes. important - #2 - gpa calculation your previous group/student solution might be working this way; otherwise, you will need to updated it. because gpa is calculated randomly in student, depending how you calculate it there is a chance that the average group gpa will not match with the displayed sum of each student's gpa. in order to fix this, you need to: in group: semestergpa is calculated using the gpa attribute in student, not the semestergpa() method in student in student: it needs gpa as an attribute the attribute gpa is calculated in the constructor, when the student is created, calling the semestergpa() random method the semestergpa() method, whenever it is called, updates the value of the attribute gpa

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 01:30
Consider the following statements: #include #include class temporary { private: string description; double first; double second; public: temporary(string = "", double = 0.0, double = 0.0); void set(string, double, double); double manipulate(); void get(string& , double& , double& ); void setdescription(string); void setfirst(double); void setsecond(double); }; write the definition of the member function set() so that the instance variables are set according to the parameters. write the definition of the constructor so that it initializes the instance variables using the function set() write the definition of the member function manipulate() that returns a decimal number (double) as follows: if the value of description is "rectangle", it returns first * second if the value of description is "circle" it returns the area of a circle with radius first if the value of description is "cylinder" it returns the volume of a cylinder with radius first and height second. hint: the volume of a cylinder is simply the area of the circle at the base times the height. if the value of description is "sphere" it returns the volume of the sphere with radius first. otherwise it returns -1.0;
Answers: 1
question
Computers and Technology, 23.06.2019 15:00
Barbara is interested in pursuing a career in the science and math pathway. which qualifications will her reach that goal? a.an advanced knowledge of physics and math b.an advanced knowledge of engineering and math c. an advanced knowledge of physics and robotics an d. advanced knowledge of machinery and math
Answers: 2
question
Computers and Technology, 24.06.2019 08:30
@josethesolis i need can anyone text me and follow me
Answers: 1
question
Computers and Technology, 24.06.2019 20:30
Which key should you press to leave the cell as it originally was? a. delete b. cancel c. backspace d. enter
Answers: 1
You know the right answer?
What you will learn layouts: the organization of graphical components inside a panel. deliverables...
Questions
question
Chemistry, 22.11.2019 08:31
question
Mathematics, 22.11.2019 08:31
question
Mathematics, 22.11.2019 08:31
question
Mathematics, 22.11.2019 08:31
Questions on the website: 13722363