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
It could be something simple for a good js coder. But there may be a custom design and I can give more feedback for the person who is interested in working with me. Check Invisi

Write a code in java to explain the while loop in Java? // This is the Hello program in Java class Hello { public static void main (String args[]) { System.out.print("

What are the advantages of multimedia presentations? Write any five. Following are the benefits of multimedia presentations: • Great tool for efficiently communicating ideas

What are the principle concepts of OOPS? Principle concepts upon that object oriented programming and design rest. They are: Abstraction: Abstraction refers to the act of

using polymorphism to write a program to display digital clock

.java coding for linear programming

Question: (a) Java does not support multiple inheritance but does provide the concept of ‘interface'. Explain how interfaces can help a programmer to implement multiple inheri

To simplify complex class diagrams you may group classes into packages.

What is Overloading explain with an example? Overloading is while the similar method or operator can be used on several different kinds of data. For example the + sign is used

What is asynchronous messaging? Queue Ans) Asynchronous messaging includes a client that does not wait for a message from the server. An event is used to trigger a message from