Write a java program in a netbeans project, JAVA Programming

Write a Java program in a NetBeans project that reads a text file containing the names and addresses of several people and displays them all at once or one at a time upon selecting the one desired. The program opens by displaying a frame with a picture and three buttons.

The ViewAll button opens a second frame that has a table containing all the names and addresses and several buttons. The Select button opens a dialog that displays all the names for the selection of one. The Exit button terminates the program.

Hitting the ViewAll button causes the following frame to open. It displays all the names and addresses in the text file. The Add button adds a row to the table so that the file can be augmented. Hitting the Save button saves the data in the table to the file. The Delete button deletes the selected row from the table and its data from the file. The Close button closes this frame and returns one to the picture frame. Exit terminates the program.

Hitting the Select button on the picture frame causes the following dialog to open. It displays the names of the people with addresses in the file. The selection is made by either closing the dialog once a name has been selected or by double clicking on a name.

Making the selection causes the following frame to open. It displays the address of the selected person.

The close button closes this view and returns to the picture frame. Exit terminates the program. The program must be object-oriented and contain a class that demonstrates the mediator and singleton design patterns. The program must also demonstrate the model-view-controller design pattern.

Since the program may be run from an executable jar file, the use of System.out.println is prohibited. The Creek picture is provided as is the tab delimited text file, Addresses. You must demonstrate your solution to me in class on exam day.

Posted Date: 2/18/2013 5:10:51 AM | Location : United States

Related Discussions:- Write a java program in a netbeans project, Assignment Help, Ask Question on Write a java program in a netbeans project, Get Answer, Expert's Help, Write a java program in a netbeans project Discussions

Write discussion on Write a java program in a netbeans project
Your posts are moderated
Related Questions
consider the file name cars.text each line in the file contains information about a car ( year,company,manufacture,model name,type) 1-read the file 2-add each car which is represen

A question rising in the mind of XML/DTD designers is whether to model and encode retain information using an attribute, or alternatively, using an element. 1. Using  an  elemen

Include Photo Upload feature to Android App with Google App Engine Project Description: I have one small Android App skeleton that requires some features added to and backed

Java has two kinds of exceptions: 1. Checked exception: handled from java.lang.Exception but not java.lang.RuntimeException. 2. Unchecked exception: handled from java.lang.Ru

JMX framework can enhance the manageability of your application by  1. Monitoring your application for critical events, performance problems, and error condition statistics. E.g

By pressing ‘6’ (i.e. key’6’ one time) on the keypad, the mobile shows ‘m’ on display screen in write text message area

1. The purpose of this problem is to practice using ArrayLists.Write a Java client file containing a mainmethod plus other methods as needed to solve the following problem (no clas

n this problem you are given a board in which some of the elements are placed as shown in diagram below. Each element represents a color. Fill the other elements in the board, such

What is the use of UnicastRemoteObject in RMI? Ans) The UnicastRemoteObject class gives support for point-to-point active object references using TCP streams. Objects that need

The purpose of this assignment is to help you learn the Java environment and practice I/O instructions, assignment, and simple arithmetic operators. Teams: The assignment can