PropertyChangeListener for an int value
What I want is that a few variables update accordingly when one specific int's value changes. I heard PropChListener would provide this feature (well, not specifically for integers, but..), and so I tried it.
intVariable.addPropertyChangeListener(this);
but at compile I get "int cannot be dereferenced". How'd I get it working? Am I completely wrong?

