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

  Define data access controls in the erp software to deny

Assignment builds on the scenario of Ken 7 Windows Limited given as the last section of this document. For this assignment, imagine yourself to be a security administrator working for Ken 7 Windows Limited. You have been asked to evaluate the option ..

  Command that will create matrix

1. Write the command that will create matrix A shown in the format below using colon operator for the first row,

  Fsm packet sending and receiving protocols

Consider a scenario in which a Host, A, wants to simultaneously send messages to Hosts B, C, and D. A is connected to B, C, and D via a broadcast channel, and a packet sent by A is carried by this channel to each of B, C, and D.

  How components of computer system interact in system

How do components of computer system interact within system? What improvements or additions to system do you believe would benefit you or make system more user-friendly?

  What is the maximum delay a packet might face

Suppose a router has accepted flows with the TSpecs shown in Table 6.6

  Determine the optimum sampling rates

Be sure to submit your homework in the WebTycho assignments folder no later than the due date listed in the syllabus.

  Write a program that prompts the user to input a string

Write a program that prompts the user to input a string and then outputs the string in the pig Latin form. The rules for converting a string into pig latin form are described in Programming example : Your program must store the characters of a str..

  Demonstrate applied knowledge of people

demonstrate applied knowledge of people

  Design a program that will read a file of product records

Design a program that will read a file of product records, each containing the item number, the item name, and the quantity sold this year and the quantity sold last year. The program is to produce a product list showing the item number, the item nam..

  Which open software applications might be hogging

In this case, you will need to find out which open software applications might be hogging your customer's RAM and causing the problems that the customer is experiencing. Research some tips that you can use to help you troubleshoot this issue. Discuss..

  Scope and lifetime are distinct

Scope and lifetime are distinct yet related issues in programming languages. Languages can sometimes make design decisions that cause a conflict between the scope and the lifetime of variables. Java's decision to allow classes to be defined inside..

  Write a program to input an double array

Write a program to input an double array, and then computes some simple statistics on that array. The program should have two user-defined methods to help you with the task.

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