Question: Do the following question as a GUI application. You should use Netbeans to design the interface. This is for a JAVA class and please note

Do the following question as a GUI application. You should use Netbeans to design the interface.

This is for a JAVA class and please note the only attributes that the user must input are the name and age of each entered student

Develop a system that keeps track of preschool students. There are four types of preschoolers: Guppies, who are two; Puppies, who are three; Tigers, who are four; and Lions, who are five.

Each group needs a special list of school materials. Guppies need paste and colored paper. Puppies need paste, colored paper, and rulers. Tigers need the supplies of the younger students plus a notebook and pencil. Lions need all of this and scissors.

Example (Data entry):

Name: Mark Twain

Age: 4

Name: Harriet Stowe

Age: 5

Name: Robert Frost

Age: 2

Name: Toni Morrison

Age: 4

Group: Tiger

Name: Washington Irving

Age: 5

Print out:

Guppies Ms.Smith

Robert Frost

Supplies needed:

Puppies Ms. Smith

Supplies needed:

Tigers Ms. Jones

Mark Twain

Toni Morrison

Supplies needed:

Lions Ms. Anders

Harriet Stowe

Washington Irving

Supplies Needed:

Your system should capture the name, age, and school group (which is determined by age) of "n" number of preschoolers. Note that if the user does not enter a school group, the group appropriate for that age should be added for the student.

Each type of student (Guppies, Puppies, etc.) should be separate classes that all inherit from a common parent, "preschoolStudent". The parent class should have defaults for each of the data variables and methods needed.

Your application should store the individual objects in an ArrayList, and should allow the inputing of "n" number of records. The only attributes that the user must input are the name and age of each entered student (be sure to handle the entry of different data types with a try catch block). Group is optional, with the system ascertaining the appropriate preschool class for each one.

Your application should also print out a report that groups each class, with the teacher and students, along with the supply list. The teachers for the groups are the following: Ms. Smith for puppies and guppies, Ms. Jones for tigers and Ms. Anders for lions.

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!