title: count button clicks
body: <p>I want to count the number of times the button is clicked using GUI.</p>
  
  <p>I did this code:</p>
  
  <pre><code>private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) 
   {                                         
    int clicked = 0;
    clicked++;
    System.out.println(clicked);
   }    
  </code></pre>
  
  <p>But it showing the output "1", each time I click the button.</p>
  
  <p>I want every time I click the button to show me the count.</p>
  
  <p>ex: If I click the button two times it should give me output of "2".</p>