Reference no: EM131096285
Design and implement (in Java) a basic graphical user interface (GUI) program for recording information about a family tree.
You can assume that a family member has some immediate relatives: ie, a mother and father (maybe unknown), zero or one spouses and zero or more children. A family member also has a first name, a surname at birth, a surname after marriage, gender, an address and a paragraph of text describing what is known about their life. Obviously, this is a simplified version of reality.
An address has a street number, street name, suburb and postcode.
A family tree contains this information for a whole bunch of related people.
The program can be started in editing mode or viewing mode.
In viewing mode, the GUI shows details for one person at a time. A family tree will have specified starting person. From the GUI the user will be able to change the displayed person to (display) one of the immediate relatives of the current person.
In editing mode, the user can choose to start a new empty family tree or edit an existing one. A new family member can be added as an immediate relative of an existing person or the names, address, or text for an existing person can be changed. It is not necessary for this basic software to allow the user to be able to link an already existing person in a new role, eg as the mother of another already existing person.
The software should allow a user to conveniently enter their own family tree and have it stored for subsequent editing and viewing.
Set up a couple of demonstration family trees which you submit and give clear instructions in the User Guide for use of those family trees.
Note that your program should compile and run under Java SE 8 and NetBeans IDE.
Required Documentation for the Question
Please remember to submit the Java source code and executable version of your program (i.e. the whole NetBeans project).
The final version of the program should compile and run under Java SE 8 (JDK 8). Internal students should test compilation and running on the University lab machines.
For internal documentation (ie in the source code) we require:
- a beginning comment clearly stating title, author, date, file name, purpose and any assumptions or conditions on the form of input and expected output;
- javadoc and other comments giving useful low-level documentation and describing each component;
- well-formatted readable code with meaningful identifier names and blank lines between components (like methods and classes).
Reflect on your progress in gaining knowledge and skills
: Reflect on your progress in gaining knowledge, skills, attitudes, and identity of professional practice. Explore any concerns that arose and may require special supervision or faculty intervention.
|
Static member variable to count
: Take a static member variable to count how many objects has been created so far. - Declare an array of 10 Student objects. - Finally from your main function manipulate all.
|
Algorithm to transform g into gnf
: As discussed in Section 5.5, a grammar is in Greibach Normal Form (GNF) if all productions are of the form A→aα, where a is a terminal symbol and α is a string of zero or more grammar (i.e., terminal or nonterminal) symbols.
|
What is the price paid by the importing country
: Suppose Qd=-23*P+670, Qs=30*P+12 for home and Qd*=-23*P+402, Qs*=30*P+34 for foreign. Further suppose that the importing country place a tariff of 0.23 on the product. What is the price paid by the importing country to two decimal places?
|
Design and implement a basic graphical user interface
: In viewing mode, the GUI shows details for one person at a time. A family tree will have specified starting person. From the GUI the user will be able to change the displayed person to (display) one of the immediate relatives of the current person..
|
Assume firm is currently producing
: Assume a firm is currently producing 500 units of output, total costs are $24,000, and average fixed costs are $6. Based on this information we can conclude, with certainty, that the firm's:
|
Show that the cfsm for this grammar
: The resulting grammar has O(n2) productions. (a) Show that the CFSM for this grammar has O(2n) states.
|
Software development cycles
: There are software development cycles, project life cycles, and product life cycles. Research and read about each through the course materials and internet. Describe how the three fit together
|
Estimates that the daily output of her factory
: The manager of Dixie Furniture Company estimates that the daily output of her factory (in thousands of dollars) Q is given by Q = 2x^1/4y^3/4 where x is the amount spent on labor and y is the amount spent on capital (both measured in thousands of dol..
|