Design and implement a basic graphical user interface

Assignment Help Basic Computer Science
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).

Reference no: EM131096285

Questions Cloud

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..

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Discuss the issues of encryption and key management

Discuss the issues of encryption and key management in cloud computing, how it different for personal computers and traditional enterprising computing environments.(1300-1400 words)

  Energy management systems

How Protocols Support Business Processes Topic:Energy management systems

  What will happen to congestion window in each case

Suppose TCP Vegas sends over the above connections, with an initial Congestion Window of 3 packets. What will happen to Congestion Window in each case? Assume Base RTT = 1 second and β is 1 packet per second.

  Despite the growing number of security incident

Despite the growing number of security incidents, cybersecurity risks and threatsare still notoriously hard to quantify and estimate.

  What other measures do you feel should be taken

How effective do you feel these and other measures are in protecting children from sexual predators online? What other measures do you feel should be taken? Are current laws sufficient for protecting children, or are additional laws needed?

  Explain what your process was and how the experiment went

Write a 2- to 3-page paper to explain your choice. Explain what your process was and how the experiment went. Were you successful? What did you learn from the experience ? Experiment choice #1:  File Sharing Program

  Ieee 754 32-bit floating point values

Convert the following numbers to IEEE 754 32-bit floating point values (display results in hexadecimal)

  Describe difference between a danger sign and a caution sign

Design a danger sign and a caution sign for a power press. For specifications search online at http://www.osha.gov for 29 CFR 1910.145 entitled Specifications for accident prevention signs and tags. Describe the difference between a danger sign a..

  Value of variable immediately before that process terminates

Suppose all fork calls are successful. Inside node for each process, illustrate value of variable x immediately before that process terminates.

  Write method "design" which takes integer size as parameters

Write the method "design" which takes an integer size as parameter, and prints a "design square" with the following characteristics:

  Create a gantt chart illustrating the project tasks

Be typed, double-spaced, using Times New Roman font (size 12), with one-inch margins on all sides; citations and references must follow APA or school-specific format. Check with your professor for any additional instructions.

  How failure detectors solve these problems

how failure detectors solve these problems?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd