How to create custom action for an object?
<p>I have an object, let's say FOO, with a variable, percent...</p>

<p>I need to create an Action percentChanged, which will be triggered when the variable percent is changed, which will handled by an ActionListener in another object ...</p>

<p>How to do it in java ?</p>
