> 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()
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.