I have a bank Class,
and in my Main Java file,frame1, I am trying to deposit into a clients account.
but my code is wrong, I wonder if anyone can even help, seeing as how you don't know what classes
I have and so forth.
I'll upload the .html documetnation.
The Url will be:
This is my code for my deposit procedure.
void jBtnDeposit_actionPerformed(ActionEvent e)
jTxtArea.append("No amount added\n");
BankAccount depositInto = new BankAccount
jTxtArea.append("Account Number: "+
depositInto.getAccountNumber()+ "\n" +
"Account Owner: " + depositInto.getOwnerName() + "\n" +
"Amount deposited: "+ Double.parseDouble
"Balance: " + depositInto.getBalance()+ "\n");
It keeps creating a new account each time, obviously it's becuase I'm using a constructor...but How
would I go about not using the constructor and depositing into a specific account ID?