I'm designing a banking program, and I have a balance label that shows the balance after each transaction, however, after I close the program it defaults back to it original value
I've tried setting the value of the label to the new desired value, but the program defaults back to the original each time
double newbalance = Double.parseDouble(balance) + Double.parseDouble(deposit);
lbl_ActualBalance.setText(String.valueOf(newbalance));
I expected the value of the label to change indefinitely but it keeps defaulting