From: Pepijn V. E. <pep...@lu...> - 2003-06-16 15:41:41
|
> > I think we might need to override something like dispose() in > GLCanvas to get earlier notifications that the component has been > removed from the hierarchy; I'll try to ask the AWT developers > about this this week. (I work on the JVM and am not an AWT > expert.) > I implemented context creation/destruction in GL4Java by overriding addNotify and removeNotify. The java api docs state that in these method components are hooked up to and detached from their native peers respectively. I haven't checked when exactly everything is created and destroyed in jogl, so it might already be doing this. :) Pepijn |