User 2a533dbb3b
24-02-2011 20:32:25
I've been trying to programtically change how a molecule is displayed in MViewPane. For example, "ballstick". I've tried setting it the following way:
mViewPane.setRendering(DispOptConsts.BALLSTICK_RENDERING_S);
This correctly displays the structure as "Ball & Stick". The problem is if I I click on the mViewPane it reverts to "wireframe" display.
Is there a different method I should be using to modify the display?