Skip to content

Instantly share code, notes, and snippets.

@ecsyz
Created October 8, 2013 08:38
Show Gist options
  • Save ecsyz/6881561 to your computer and use it in GitHub Desktop.
Save ecsyz/6881561 to your computer and use it in GitHub Desktop.
swing-button-ActionListener-inline
nameButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
nameButtonActionPerformed(evt);
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment