Why changes arent seen when i re-conect to my Database through a Java API?
Hi, I have a simple Java API, an ATM which is a window with cardlayout
I conect with The database returns that the Credit Amount is 0 and i disconect
I go to deposit money press 40$ and in the event listener the database returns that the credit Amount is 40. all ok and i disconnect
BUT IF I GO TO "see remaining credit" i re-conect inside the button listeners and says me Amount 0 AGAIN!! :eek:
edit:examples deleted due to complexity