Project will have 3 classes. Entry, Directory, and TestDirectory.
The Entry Class: 1) Will store a name and an age for a person 2) Has a constructor that expects a name and an age as parameters 3) Will display its information at a location specified by parameters 4) Will return its data fields
The Directory Class: 1) Will store an array of Entry objects 2) Will store a maximum number of entries the array can hold (10 is fine) 3) Will store the current number of entries the array is holding 4) Will have a constructor without parameters that creates an empty array 5) Will have a method to add an Entry to the array holding the information given by its parameters 6) Will have a method to display the contents of the array in the location provided 7) Will have a method to display the names of all the people of a given age at the location provided
The TestDirectory Class: 1) Will extend Applet and have init, paint, and actionPerformed methods 2) Will declare and create a Directory object 3) Will declare, create and set up enough Label objects, TextField objects, and Button objects to allow: a. Getting the data entered b. Requesting the entire directory to be displayed c. Requesting the people of a particular age to be displayed 4) Will declare any variables needed to allow communication between the actionPerformed method and the paint method regarding what the paint method is to display 5) Make it possible for the program to look up a name to find out the age of the person.
Systematic Requirements: Make sure the code is basically simple. Any information displayed in the applet window should have enough headings or explanations to make it self-explanatory. Each variable or object or method should have a name indicating its purpose and a comment explaining its purpose in more detail.
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request.
3) Exclusive and complete copyrights to all work purchased. (No GPL, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site).
Borland JBuilder 6.0 Professional