I have a class with two JSpinner objects in them, x and y. I have one change Listener which is added to both. can someone tell me how I can implement my change listener so that the listener can tell the difference between the two objects. e.g. Pseudocode:
if(source equals x)
do this
else if(source equals y)
do that
Thanks guys,