Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save seungdols/fd2ae7b893b75dbb5676 to your computer and use it in GitHub Desktop.
Save seungdols/fd2ae7b893b75dbb5676 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