In this code, where the ****** are, I want to pass a reference to the jButton8 object. I don't want to pass it to be button specific though, I want the code to be button general, to pass whatever jButton the method is declared in. Is it possible?
Thanks !
jButton8 = new javax.swing.JBu tton();
jButton8.addAct ionListener(new java.awt.event. ActionListener( ) {
public void actionPerformed (java.awt.event .ActionEvent evt)
{
jButtonAction (evt, *************** **** );
}
});
Thanks !
jButton8 = new javax.swing.JBu tton();
jButton8.addAct ionListener(new java.awt.event. ActionListener( ) {
public void actionPerformed (java.awt.event .ActionEvent evt)
{
jButtonAction (evt, *************** **** );
}
});
Comment