Question: Exercise: Using the task given in Homework number two ( HW 2 ) , implement the Banking System, but this time using the JOptionPane class

Exercise:
Using the task given in Homework number two (HW2), implement the Banking System, but this time using the JOptionPane class to display graphical dialog boxes as menu interface. If necessary, refer to the official documentation of the JOptionPane class.
Task 1:
Before showing a menu, display the input dialog box with options for user to choose language of the menu. Dropdown should contain 2 options in a list: English and Arabic.
Task 2:
After the user has selected a language, display an input dialog with the menu depending on the selected language.
Show menu after each operation until user choses option to exit.
Deposit:
Deposit should be shown as input dialog, accepting the value.
After clicking OK, confirmation message dialog should be shown:
Withdraw:
Withdraw should be shown as input dialog, accepting the value.
After clicking OK, confirmation message dialog should be shown:
Checking balance:
Checking balance option should show message dialog showing the current balance:
Invalid choice:
In case the user enters a number that is not on the menu, show message dialog:
Attach your test output results to this file as screenshots. Your program should consist of two files BankAccount and BankAccountSystemGUI, add files to the submission.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!