NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
Hi Muz, > I was writing an applet to display animations in a browser using VisAD. > However, looks like I have problem to clean up the REALTYPE variables. > The REALTYPE variables can only be destroyed when I close the parent browser. > I am wondering how that happen, and what should I do in the applet destroy() > method? Is this still a problem if you replace RealType constructors with RealType.getRealType() calls? There is a HashMap of all ScalarTypes (includinging RealTypes), but it uses weak references so the RealTypes should be garbage collected when there are no more strong references to them. Good luck, Bill
visad
archives: