daily pastebin goal
70%
SHARE
TWEET

Untitled

a guest Nov 18th, 2017 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public void addListener() {
  2. String s = "Hello World";
  3. this.addActionListener(new ActionListener() {
  4.   public void actionPerformed(ActionEvent event) {
  5.     System.out.println(s);
  6.   }
  7. });
  8. }
RAW Paste Data
Top