I'm creating a simple game in Netbeans but I've come across a problem with my reset button which when I click on it, it only clear the text in the label but doesn't add it back to Total Coins?
My code for the reset button,
Code:
private void ResetActionPerformed(java.awt.event.ActionEvent evt) {
coins.setText("");