Hi just a quick question here.
im doing an electronic bandit assignment and when you win the payout is added to a JTextfield called winnings.
i also have a Jbutton that allows you to transfer the winnings to the balance so you can carry on playing.
The problem im having is that once i have transfered the winnings to the balance, the JTextfield that stores the winnings amount still shows the amount of winnings i previously had instead of reseting back to 0 and starting again.
How do i go about this?