http://java.sun.com/docs/books...ng/learn/example6.html
In java code of this example, line 82 where it starts like
" voteButton.addActionListener(new ActionListener() {..."
I don't understand what is going from there on. It looks like the actionPerformed() function is being passed as an argument to the addActionListener() method??
Thanks.
In java code of this example, line 82 where it starts like
" voteButton.addActionListener(new ActionListener() {..."
I don't understand what is going from there on. It looks like the actionPerformed() function is being passed as an argument to the addActionListener() method??
Thanks.