Write a java program in a netbeans project, JAVA Programming

Assignment Help:

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.


Related Discussions:- Write a java program in a netbeans project

INHERITANCE, Did Java support hybrid inheritance?

Did Java support hybrid inheritance?

Create a jsp code to built an application, What is required to be done from...

What is required to be done from my programming is : I enter name,day(saturady or sunday),time( 10AM and 10PM) My program must then vaildate name,day and time. Name must only a

Write output for the given code of for loop, What is the output of the foll...

What is the output of the following code: for (i=0; i { document.write("The number is " + i); document.write(" "); } Output The number is 0 The number is 1 The number i

Explain what is multilevel inheritance, Explain what is Multilevel Inherita...

Explain what is Multilevel Inheritance ? The Car-Motorcycle-MotorVehicle instances showed single-level inheritance. There's nothing to stop you from going next. You can describ

Caesar Cipher, How can I create a simple Caesar cipher using if-else statem...

How can I create a simple Caesar cipher using if-else statements?

Inheritance, Draw an inheritance hierarchy to represent a shoe object. The...

Draw an inheritance hierarchy to represent a shoe object. The base class should have derived classes of Dress Shoes, Tennis Shoes and Boots.

What is spring configuration file, Spring configuration file is an XML file...

Spring configuration file is an XML file. This file having the classes information and defines how these classes are configured and introduced to each other.

Method to define the packages in java programme, Q. Write the method to def...

Q. Write the method to define the packages in java programme. Explain. Ans. Package: When we work on a project we have to break our programme in several classes. To organize

Program to brute force search, Ask questionWrite a program BruteForceSearch...

Ask questionWrite a program BruteForceSearch that uses the brute-force approach given above and compare its running time on your computer with that of Binary Search for largeW.txt

Write Your Message!

Captcha
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