Image Viewer

ChemAxon 587f88acea

02-06-2005 14:27:49

Does MarvinBeans have a generic image viewer that I can use inside my application which supports stuff like zooming, exporting, etc.? I have tried to use ImageViewerCanvas, but that just shows the image. I have also tried using ImageViewFrame, but when I call init(), it gives me a NullPointerException (yes, my image reference is non-null). I don't know if this is the right place for this question, but I could use some help. Thanks.

ChemAxon 7c2d26e5cf

02-06-2005 15:22:43

Marvin does not support image viewing.


Although you can generate an image from a molecule ( Molecule.toBinFormat ) MarvinBeans API does not contain any image viewer tool.

ChemAxon 587f88acea

02-06-2005 15:54:55

What about the ImageViewFrame and ImageViewerCanvas classes? Are they just not intended for general-purpose use?

ChemAxon 7c2d26e5cf

03-06-2005 08:45:40

Quote:
What about the ImageViewFrame and ImageViewerCanvas classes? Are they just not intended for general-purpose use?
I don't recommend to use them. They have been created for internal use only. Only a couple of private Marvin classes can use them.