Skip to content

Instantly share code, notes, and snippets.

@ecsyz
ecsyz / new_gist_file.java
Created October 8, 2013 08:38
swing-button-ActionListener-inline
nameButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
nameButtonActionPerformed(evt);
}
});