Escolar Documentos
Profissional Documentos
Cultura Documentos
1. Devise an application for the Banking system which handles the run-time errors. Your
application has to perform the following operations: Create a New Account with
the details like (name of the account holder, date of birth, birthplace, age,
gender, date of account creation, account number which is an automatic number
should generated starts with the this format XXDDDD-XX indicates first 2 letters
of place of Birth and DDDD- starts from 1000 to n, where n is to create n
accounts), Deposit , Withdraw and Balance Enquiry, calculate Interest Rate per
month with 3% on current balance) and Delete Account. Create a User-defined
Exception Transaction Failed which raises when the following conditions occur:
a. More than 3 transactions of any kind (deposit/withdraw/balance Check)
performed on the same day.
b. More than 25000 cant be withdrawn or deposited at a time.
c. If Account balance exceeds more than 5lakhs.
Design a class Transaction Failedto handle the points mentioned above.
And also add the search function to search the accounts with any of the given search
options as (Account Number or name of the account holder or date of birth) and
display the account records. Operations will be based on user-choice. Design a menu
driven program to implement the above.
Sample Output:
6. Design a program to implement a virtual keypad, and display the text in the text area.
7. Design an application which shows as follows:
Set the background color of the button when mouse enters into a button
and display the ToolTipText with the text of that button.
8. Design a Scientific calculator (the sample screenshot of the program shown below).
9. Design an awt program which display the Digital Clock which has the following format:
(Apply threading concept to handle the seconds)
Hours
Minutes
Seconds
07
15
09
10.
Design a program to implement Font Dialog Box. (Apply preview on the
selected text in the Font Dialog Box) the sample screenshot of the font dialog
box.
11.
12.
13. Implement Random number guessing game. Design an User Interface for this