import javax.swing.JOptionPane; public class Transfer { public static void main(String[] args) { Person jeff = new Person(300.0, 1000.0); Person kwame = new Person(150.0, 0.0); jeff.lookInWallet(); jeff.lookInAccount(); kwame.lookInWallet(); kwame.lookInAccount(); String to = JOptionPane.showInputDialog("To:"); String from = JOptionPane.showInputDialog("From:"); String a = JOptionPane.showInputDialog("Amount (In Dollars.Cents):"); double x=Double.parseDouble(a); if(to.equals("jeff") || to.equals("Jeff")) new Check(jeff, kwame, x); else if(to.equals("Kwame") || to.equals("kwame")) new Check(kwame, jeff, x); else { System.out.println("PERSON NOT RECOGNIZED"); System.out.println("Names are case-sensitive after first letter, Ex: 'Jeff' or 'jeff' is not equal to 'JeFf' or 'jEfF'"); } System.out.println("New Amounts:"); jeff.lookInWallet(); jeff.lookInAccount(); kwame.lookInWallet(); kwame.lookInAccount(); } }