CodeIgniter Forums

Full Version: Netbeans Reset Button
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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("");

[Image: ex.png]