What does "IJ.register" method mean?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

What does "IJ.register" method mean?

panovr
Hi,
  in the ImageJ's api doc, the class "IJ" has a method "register", and the
api doc says that "Adds the specified class to a Vector to keep it from
being garbage collected, which would cause the classes static fields to be
reset. Probably not needed with Java 1.2 or later."
  May interpret this method in more detail? And in which situation should
one use this method?
  Thanks!

Yili