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

Explain jakarta struts framework, Jakarta Struts is open source execution o...

Jakarta Struts is open source execution of MVC (Model-View-Controller) pattern for the development of web based applications. Jakarta Struts is robust architecture and can be used

Minimumself, At a shop of marbles, packs of marbles are prepared. Packets a...

At a shop of marbles, packs of marbles are prepared. Packets are named A, B, C, D, E …….. All packets are kept in a VERTICAL SHELF in random order. Any numbers of packets with thes

Illustrate the method to print on the GUI, Illustrate the method to print o...

Illustrate the method to print on the GUI Example Code: Taking Input / Output So far, we learned how to print something on console. Now time has come to learn how to print

JDBC Assignment, If we have 2 tables like bankcustomer(cid,cname,addr,acc_t...

If we have 2 tables like bankcustomer(cid,cname,addr,acc_type) and customeraccount(cid,amount). How to Deposit amount into the given customer account.?

Write a javascript program which having two functions, Write a JavaScript p...

Write a JavaScript program which having two functions that are sum and mean. The web page will ask the user to enter five values to be added. After taking input it will compute

Explain super class and sub class in java, 1. In Java (and OOP), Inheritanc...

1. In Java (and OOP), Inheritance includes the concept of super class that is parent class and sub class that is derived class. Explain What is a super class in Java? What is a sub

Carbon Footprint Applications, 10.13 (CarbonFootprint Interface: Polymorphi...

10.13 (CarbonFootprint Interface: Polymorphism) Using interfaces, as you learned in this chapter, you can specify similar behaviors for possibly disparate classes. Governments and

Coding, code for error correction and detection using even odd parity

code for error correction and detection using even odd parity

Explain what is fontmetrics in java, Explain what is FontMetrics in Java? ...

Explain what is FontMetrics in Java? No word wrapping is completed when you draw a string in an applet, even if you embed newlines in the string along with \n. If you expect th

War file for your application that can be deployed on tomcat, Deliverable: ...

Deliverable:  1) WAR file for your application that can be deployed and run on TomcaT (War file must contains the Java source code) Requirement for application: 1. Application m

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