welldefined
Programmer
Hi,
In text1.addActionListener(this); what 'this' for? I remember sometimes 'this' is for the whole class.
In text1.addActionListener(this); what 'this' for? I remember sometimes 'this' is for the whole class.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
public class MyListener implements ActionListener {
public void actionPerformed(ActionEvent e) {
//stuff
}
}