This assignment will assess your ability to:
1. Annotate your code with contracts.
2. Implement and use a generic collection class.
3. Construct a UML diagram of Model-View-Controller and explain the characteristics of MVC.
4. Construct a GUI according to the Model-View-Controller design pattern.
A Bank-GUI has been designed with the following facilities. There is a provision to open accounts, Savings Account and Current Account. Bank-GUI also has provision to display the detail of the account.
Opening a savings account needs IC number, Customer's name, address, date of birth, date of opening the account and an account number is also allotted.
Opening a current account needs IC number, Customer's name, address, date of birth, date of opening the account, an account number and minimum amount to be retained in the account.
Savings account number and Current account number are different.
1. Explain the functioning and use of Model-View-Controller design pattern in pattern oriented software architecture with reference to Bank-GUI.
2. Draw the UML Class/Object diagram of MVC.
3. Write a program implementing a GUI according to the Model-View-Controller design pattern. The program should consist of the following classes. See below for further details.
a. Definition of Model class.
b. Definition of Control class.
c. Definition of View class.
d. Complete Program.
4. List and describe the generic classes to be used in the proposed GUI.
5. Provide the assertion for the precondition and post condition used in each contract.
6. Use suitable names of methods, variable names, code layout and necessary comment statements etc.
TOTAL [100 MARKS]
INTRODUCTION TO TASK 3
You are to write a program in Java implementing a Graphical User Interface for a bank. The proposed design for the GUI is as shown below. There is a provision to choose either a Saving Account or Current Account by means of two buttons:
Saving Account Current Account
Pressing one of the buttons leads to the appearance of three further buttons:
Add, Display and Exit as shown below:
Add Display Exit
The actions of the buttons are as follows:
(1) Add - to add customers in a selected account.
(3) Display - to display the account detail of a selected account.
(4) Exit - to quit the existing GUI.
DETAIL OF GUI DESIGN
The Savings Account and Current Account have the following data fields.
Add Customer in Saving Account
Add Customer in Current Account
Be warned that a “working” program that fails to satisfy any of these Learning Outcomes will get a very low mark. The purpose of this module is not to teach you Java, so if knowledge of Java is all you demonstrate in your submission then you have not learned much and we cannot give you much credit.
REQUIRED STRUCTURE OF PROGRAM
You should write classes Bank-GUI-Model, Bank-GUI-View, and Bank-GUI-Controller to follow the Model-View-Controller pattern. To clarify, this means that
o Bank-GUI-View must be the only class containing GUI code,
o Bank-GUI-Model must store all the data and have no references to the other two classes and
o Bank-GUI-Controller must forward only valid requests to Bank-GUI-Model and it must tell Bank-GUI-View to disable buttons and show alerts in response to incorrect inputs.
Assignment submission will be checked against detection software and work found to have been plagiarized will be referred to Plagiarism Committee.
21 freelance font une offre moyenne de $48 pour ce travail
Hi Sir. i am a qualified programmer. i can do this work. kindly check pmb for details. thank you
Hi, I am a graduate in CS and working as software developer for 4+ years. I have deep knowledge of design patterns like MVC, MVVP, Factory, Strategy and other. I have implemented these patterns in lots of projects I d Plus
Hi Pooja, I have gone through your requirement and am ready to start ASAP, see pm for more details.
Hi, I have good experiecne in Java and Banking Sector. I have done many projects before, but newbie to freelancer. I can help you with full responsibility and confidence. Thank you, Pavan
Hey I am interested in this project I read all the details carefully and I assure you that I can do it very well I am a professional java programmer
Have Done Similar projects for MNC'S Experience Summary: o More than Nine years of experience in the IT industry working for top IT Service providing companies like Wipro Technologies. o Client site experience-Worke Plus
Respected Sir, i understand your project requirements and i know i can do this without any problem since i have done a few java-projects regarding this in my university as well.I will be really very thankful to you if Plus
Have worked on similar project [url removed, login to view] last project was actually on a banking system which I completed successfully
Hi sir... I have 2 years of experience in java,MVC pattern and i know collection framework very well. I known about how to develop a better application with good performance.
Hello, I can done your project for a fee of $30.00. I will be able to deliver the file within 30 days. If you have any questions, please let me know. Thank you