||Using the Decorator Pattern|
|Subject:||Great article, what about listeners|
This article solved my age old problem of decorators in Java. I have one question, how can we add a mouse listener to the decorator so that events to the component are passed to the decorator and the event object's get source method returns the decorator object and not the component within it.
Hear us Roar