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
write a program to find the minimum no of colors to fill a board where some of the elements of different color are already placed.

The Web container is used for managing the servlet's life cycle. The Web container produces an instance of the servlet and then the container invokes the init() function. At the co

Can we use the constructor, instead of init(), to initialize servlet? Ans) Yes. Of course you can use the constructor instead of init(). There's nothing to stop you. But you sho

Question 1: a) What is an "Operating System"? b) Describe the four main computer system components. c) Describe and compare "Parallel Systems" and "Distributed Systems

We need an OpenGL - based visualisation of an OBJ-File that was created out of Maya3D. (important: we have to use OpenGL with Java - JOGL) In other words: we have an OBJ-file (a

What is an Applets? Applets: These are small java programs. They can send from one to another computer over internet by using Applet Viewer which supports java. Applets

THE FOLLOWING PROGRAM SHOULD BE JAVA IN ECLIPSE Minimal Spanning Tree Decreasing Edge Dismissal Reverse-delete algorithm. Develop an implementation that computes the MST as fol

Output first x values in the fibonacci sequence, where x is an argument to the program. 0, 1, 1, 2, 3, 5, 8, ... Write the fibonacci creation function separate from the main func

Define the difference between StringBuffer and String class ?

JavaScript supports the normal control structures: The conditionals if, if...else, & switch; The iterations for, while, do...while, break, & continue;