Okay then after a few manipulations to the code I have fixed the list Trans and it displays everything perfectly and then had problems with the other 2 listings but now its all good. I will run it a...
Type: Posts; User: Omega_Zero69
Okay then after a few manipulations to the code I have fixed the list Trans and it displays everything perfectly and then had problems with the other 2 listings but now its all good. I will run it a...
I have it in the listener right after the adding the transactions as an else if ( event.getsource() = listTrans)
else if(event.getSource()== listTrans)
{
JTextArea...
Yeah I have change a few things and now it accepts the objects from transaction. But now my new problem is the listing which worked fine before the accepting of the transaction objects now it does...
Thank you Norm that really helped transList came out null. Now transList is an arraylist so Im wondering why is it null and why is it not accepting the objects.
I will come back if I find anything...
at line 45 there was a TransCount++; then I removed it and place it inside the Listener after each addTrans
I added the println() statement before transList.add(newTrans) inside the Account method...
Well at line 45 its a method that takes a transaction object and inserts it into and arraylist. I see what you are getting at maybe at line 71 which is the the account calling the method and passing...
Im getting these errors
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at CheckingAccount.addTrans(CheckingAccount.java:45)
at...
My problem is that I create a panel asking the balance first. Panel works good but when I click on make a transaction and input transcode and amount I get an error on the following lines.
There is...