Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

button getsource

public void actionPerformed(ActionEvent e) {
  
if(e.getSource()==button)  {
    button.setText("Button Clicked!");
  
}}
 
PREVIOUS NEXT
Tagged: #button #getsource
ADD COMMENT
Topic
Name
7+8 =