You are required to write a java jui code. Your java gui will keep track of the items given out as charity. The items are donated by people and your gui application will keep track of each donation in persistence store. CharityItem: description (String), quantity (int), estimatedAmount (double), donor name (String), Donor contact (String) You are also required to do some exception programming/handling. If a charity with a value greater than 2 lacs is donated, then you will raise the ShowOffCharityException. You will have to create an exception class for this and the exception will be raised from the constructor of the CharityItem class under the said condition. You will also write code at other places wherever required to deal with this exception. Please note that you will make your ShowOffCharityException as a checked exception. You will provide appropriate GU interfaces to create, view, update and delete charity items.. You are free to choose any appropriate widgets to do this and impressive GUI will carry extra marks. Maintain separation between business and GUI classes. You may write as many fabricated business classes as you may need.

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter11: Exception Handling
Section: Chapter Questions
Problem 1CP
icon
Related questions
Question

You are required to write a java jui code. Your java gui will keep track of the items given out as charity. The items are donated by people and your gui application will keep track of each donation in persistence store. CharityItem: description (String), quantity (int), estimatedAmount (double), donor name (String), Donor contact (String) You are also required to do some exception programming/handling. If a charity with a value greater than 2 lacs is donated, then you will raise the ShowOffCharityException. You will have to create an exception class for this and the exception will be raised from the constructor of the CharityItem class under the said condition. You will also write code at other places wherever required to deal with this exception. Please note that you will make your ShowOffCharityException as a checked exception. You will provide appropriate GU interfaces to create, view, update and delete charity items.. You are free to choose any appropriate widgets to do this and impressive GUI will carry extra marks. Maintain separation between business and GUI classes. You may write as many fabricated business classes as you may need. 

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Knowledge Booster
Exception Handling Keywords
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning