User 870ab5b546
24-02-2015 02:18:26
I upgraded to JChem 15.2.16.0 and recompiled. I got a message saying that WIREFRAME_RENDERING_S in DispOptConsts has been deprecated. The particular line of code:
printer.setRendering(WIREFRAME_RENDERING_S);
So I looked in the API. MolPrinter.setRendering() requires a String parameter. The API agrees that WIREFRAME_RENDERING_S has been deprecated, and I should use RenderingStyle instead. The Enum RenderingStyle documentation lists a WIREFRAME under Enum Constants and a method toString(). Should I use this line of code instead?
printer.setRendering(RenderingStyle.WIREFRAME.toString());