Last active
November 26, 2015 12:31
-
-
Save choiseungho/f4349bac373b8e81b6c9 to your computer and use it in GitHub Desktop.
기존 리스너 추가와 람다식 사용의 차이 - what different use AddListner and Lambda?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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