Skip to content

Instantly share code, notes, and snippets.

@choiseungho
Last active November 26, 2015 12:31
Show Gist options
  • Save choiseungho/f4349bac373b8e81b6c9 to your computer and use it in GitHub Desktop.
Save choiseungho/f4349bac373b8e81b6c9 to your computer and use it in GitHub Desktop.
기존 리스너 추가와 람다식 사용의 차이 - what different use AddListner and Lambda?
btn_search.addActionListener(e -> {
btnAction(e);
});
btn_search.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
btnAction(e);
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment