I'm wondering, since this is Java, why did they not choose to dispose the resources on Pixmap finalization? That is, override the
finalize method to automatically call
dispose. If an object is finalized, then that means that the Garbage Collector determined no hard references to it, so clearly no one is using the Pixmap and it is fine to dispose it.
What particular advantages are there to calling it manually rather than use the finalization method?