MViewPane.setParams() resets the previous settings

ChemAxon 7c2d26e5cf

04-06-2004 16:45:59

The MarvinPane.setParams(String) method is used to set parameters when MViewPane or MSketchPane is initalized (before loading the molecule).





Using of setParams after a setMol() or a setM() calling is not suggested, since setParams resets all previous settings. See the documentation:


http://www.chemaxon.com/marvin/doc/api/chemaxon/marvin/beans/MarvinPane.html#setParams(java.lang.String)





The difference between a parameter and a property that you can modify a property's value after initalization, while parameter can only be set once.