Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java actionevent

public void actionPerformed(ActionEvent e) {
  
if(e.getSource()==button)  {
    button.setText("Button Clicked!");
  
}}
Source by www.java2s.com #
 
PREVIOUS NEXT
Tagged: #java #actionevent
ADD COMMENT
Topic
Name
4+6 =