In a button I can see three properties action
, actionListener
& actionListeners
. I tried to use the actionListener
property by creating a class implementing java.awt.event.ActionListener
and implementing actionPerformed
method and then calling the class using expression language. But nothing happened.
Even the documentation on these properties is cryptic. Can anyone explain how these properties are used and their purpose?