help me Java project I put problem and my own code in the link my code is long link : https://codeshare.io/YohNo Solution import javax.swing.*; import java.awt.Font; import javax.swing.JOptionPane; import java.text.DecimalFormat; import java.util.Scanner; public class Assignment21 { /** * @param args the command line arguments */ public static JFrame frame; public static DecimalFormat fmt = new DecimalFormat (\"0.00;(0.00)\"); public static String message; public static boolean firstTime = true; public static boolean firstTime2 = true; public static CheckingAccount CheckAcc; public static Transaction newTrans; public static void main(String[] args) { // TODO code application logic here frame = new JFrame (\"Transaction Options\"); frame.setDefaultCloseOperation (JFrame.EXIT_ON_CLOSE); EOptionsPanel panel = new EOptionsPanel(); frame.getContentPane().add (panel); frame.pack(); frame.setVisible(true); } public static int getTransCode() { String codeStr; int code; codeStr=JOptionPane.showInputDialog(\"\ Here are the Transaction Codes:\ 1)Checking\ 2)Depositing\ 0)Terminate\"); code = Integer.parseInt(codeStr); return code; } public static double getTransAmount(){ String tStr; double tAmount; tStr = JOptionPane.showInputDialog(\"Enter the trans amount: \"); tAmount = Double.parseDouble(tStr); return tAmount; } public static double processCheck(double tAmount) { CheckAcc.setServiceCharge(0.15); newTrans = new Transaction(CheckAcc.getTransCount(),3,0.15); CheckAcc.addTrans(newTrans); message += \"\ Transaction : Check in Amount of $\" + fmt.format(tAmount) + \"\ Current Balance : $ \" + fmt.format(CheckAcc.getBalance()) + \"\ Service Charge : Check --- charge: $0.15\"; if(CheckAcc.getBalance()<500 && firstTime2) { CheckAcc.setServiceCharge(5.00); newTrans = new Transaction(CheckAcc.getTransCount(),3,5.00); CheckAcc.addTrans(newTrans); firstTime2=false; message += \"\ Service Charge : Balance under $500 -- Charge: $5.00\"; } if(CheckAcc.getBalance()<0) { CheckAcc.setServiceCharge(10.00); newTrans = new Transaction(CheckAcc.getTransCount(),3,10.00); CheckAcc.addTrans(newTrans); message += \"\ Service Charge : Overdfart Balance --- Charge: $10.00\"; } message += \"\ Total ServiceCharge : $ \" + fmt.format(CheckAcc.getServiceCharge()); JOptionPane.showMessageDialog(null, message); return 0; } public static double processDeposit(double tAmount) { CheckAcc.setServiceCharge(0.10); newTrans = new Transaction(CheckAcc.getTransCount(),3,0.10); CheckAcc.addTrans(newTrans); message += \"\ Transaction : Deposit in Amount of $\" + fmt.format(tAmount) + \"\ Current Balance : $ \" + fmt.format(CheckAcc.getBalance()) + \"\ Service Charge : Check --- charge: $0.10\"+ \"\ Total ServiceCharge : $ \" + fmt.format(CheckAcc.getServiceCharge()); JOptionPane.showMessageDialog(null, message); return 0; } public static void inputTransactions() { // define local variables String initialStr; double initial, tAmount, check, deposit, amount=0; int code, number=0, id=0; // get in.