Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

actionListener java

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

/*in main*/
button.addActionListener(new ActionListener() {
  public void actionPerformed(ActionEvent e) {
			System.out.println('x');
  }
});
 
PREVIOUS NEXT
Tagged: #actionListener #java
ADD COMMENT
Topic
Name
4+5 =