posted 21 years ago
Not at all sure that I understand the question.
You can add more than one mouse listener to the same label. More than one of those listeners can listen for mouse release. Each one can then check what is going on to see if they really want to do something or not.
On the other hand you could have just one listener that listens for mouse release, and then depending on some other conditions, it can do different things.
Yes you will probably need to make your own Listener to accomplish this.
"JavaRanch, where the deer and the Certified play" - David O'Meara