please with java and in JOptionPane if possible
.bank charges 10.00 per month plus the following fees for achecking account:
   .10 each for less than 20 checks
  . 08 each for 20 – 39 checks
   .06 each for 40 – 59 checks
   .04 each for 60 or more checks
The bank also charges an extra 15.00 if the balance of the accountfalls below $400 (before any check fees are applied).
Write a program that reads the following:
The account number ( a String )
The beginning balance of an account
The number of checks written
The total amount of the checks
The program should subtract the total amount of the checks from thebalance; it should calculate the bank fees (all that apply); and itshould print an “end of month statement†which includes thefollowing:
  The account number
  The beginning balance
  The total amount of the checks
  The total charges
  The final balance  -- if the final balanceis negative, print a warning