title: Netbeans Swing jButton
body: <p>I have two buttons and in the second one I want to use a variable made in the first button. So Netbeans is generating code of the button. ActionEvent generated by netbeans is 
  "private void buttonActionPerformed(java.awt.event.ActionEvent evt)"
  and I cant change it. I tried to change button to public in button setting. I changed it to public but in code it is still private. I dont know what to do. Anyone know where the problem might be?
  Thanks.</p>