Thank you for the reply,but It seems that is is still impossible to get the name of a particular instance.
by using e.getSource().
I can only get the class name of the component:
e.getSource().getClass().getName();
but not the name of the instance.
Any solution??
Thank you!