**Re-posted due to budget selection error**
The correct budget is $30-250USD, not $250-750USD
Use swing GUI forms and JFrame forms to mimic the screen shot below, which will use the class file found in the attached docx file.
For the Exit button, just use [url removed, login to view](0)
For the Create Account button, you will have to get the pin and initial balance from those two text fields using getText(). You will also have to parse the balance.
an instance variable above all the methods in the class. Then in Create Account you will create it with: myAccount = new …..
calling the constructor and sending it the pin and balance.
Start the first line of the Create Account method with myAccount = null. Then if an account did already exist, it is destroyed before you try to create a new one.
At the end of Create, Deposit and Withdraw, call the display method so that you can immediately see what happened to the account.
For the Display button you can use setText to put the account information on the text area.
In both Deposit and Withdraw you have to get the amount from the text field and send it to deposit and withdraw
Put in try/catches where appropriate for the cases where the user did not put anything into a text box.
Another problem can occur if the user hits Display, Deposit or Withdraw before creating an account. Use NullPointerException
Put all error messages in JOptionPane boxes. Test all situations and errors thoroughly.