JInternalFrame memory leaks
Hello, I need help on a bug on the JInternalFrame that SUN have fixed. I'm using in a my own DesktopPane and my own JInternalFrame in a MDI application. On each JInternalFrame created, I have different listener that is rerferer to this JInternalFrame. When I'm closing the JInternalFrame, I remove it from the DesktopPane, and I'm disposing of the JInternalFrame, but references still exist on the JInternalFrame and the memory of this object is not free. In the BasicInternalFrameUI, SUN have implemented the uninstallListeners() method, but this method is protected (see at: http://java.sun.com/j2se/1.3/docs/guide/swing/MDIChanges.html) .....how can I access it ? I have try to define my own class extending the BasicInternalFrameUI, but it is impossible, the class does not have a parameters less constructor. I have also try to extends from the InternalFrameUI, but in this case, how can I override or access the uninstallListener() method of the BasicInternalFrameUI ?
In both case I'm in deep trouble. Is there anyone that have face the same problem ?
If someone have a solution, please propose it to me.
vincent.thibaudeau@sita.int

