I have an application that spawns numerous internal frames. I need to detect which internal frame throws an event ans close that specific one. When I create an instance of the internal frame, I add a vetoableChangeListener to it. Each internal frame is createdd the same exact way and the listener add likewise. How do I know that internal frame1 generated the event or if internal frame6 generated it.