Question: D Microsoft Word-Project5.docx Chegg Study l Guided Solutio Alejandra CSecure https://courses.cs.westga.edu/pluginfile.php/79648/mod assign/intro/Project5.pdf 0 D New Tab University of West G 1mported From Safari Part 1:

 D Microsoft Word-Project5.docx Chegg Study l Guided Solutio Alejandra CSecure https://courses.cs.westga.edu/pluginfile.php/79648/modassign/intro/Project5.pdf 0 D New Tab University of West G 1mported From SafariPart 1: Adding Employees 1. ::: Apps Instructor Solutions Implement the MainWindow::createEmployeemethod. a. Get the input values to be used to create anew Employee as follows: string name = this. employeeName . getText(); int

D Microsoft Word-Project5.docx Chegg Study l Guided Solutio Alejandra CSecure https://courses.cs.westga.edu/pluginfile.php/79648/mod assign/intro/Project5.pdf 0 D New Tab University of West G 1mported From Safari Part 1: Adding Employees 1. ::: Apps Instructor Solutions Implement the MainWindow::createEmployee method. a. Get the input values to be used to create a new Employee as follows: string name = this. employeeName . getText(); int year Integer.parseInt (this.yearOfHire.getText)); String title this.jobTitle.getText(); double wage Double.parseDouble(this.wage.getText()); int rating this. rating . getValue(); b. Create an Employee object using the provided values. Add the Employee to the combobox of employees as follows: this.employees.getItems).add (employee) c. Note: The parameter name to the add method call will be the name of the variable you used when you created the Employee object. d. At this point, when you run the application, as long as you enter valid data for arn employee, you should be able to add an employee and in the Employee combobox see the employees you have created. 2 of 13 Part 1: Displaying Employee Selected D Microsoft Word-Project5.docx Chegg Study l Guided Solutio Alejandra CSecure https://courses.cs.westga.edu/pluginfile.php/79648/mod assign/intro/Project5.pdf 0 D New Tab University of West G 1mported From Safari Part 1: Adding Employees 1. ::: Apps Instructor Solutions Implement the MainWindow::createEmployee method. a. Get the input values to be used to create a new Employee as follows: string name = this. employeeName . getText(); int year Integer.parseInt (this.yearOfHire.getText)); String title this.jobTitle.getText(); double wage Double.parseDouble(this.wage.getText()); int rating this. rating . getValue(); b. Create an Employee object using the provided values. Add the Employee to the combobox of employees as follows: this.employees.getItems).add (employee) c. Note: The parameter name to the add method call will be the name of the variable you used when you created the Employee object. d. At this point, when you run the application, as long as you enter valid data for arn employee, you should be able to add an employee and in the Employee combobox see the employees you have created. 2 of 13 Part 1: Displaying Employee Selected

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!