From: Robert H. <ha...@st...> - 2009-10-05 12:11:47
|
Correction. JmolPanel() { adapter = new SmarterJmolAdapter(); viewer = new Viewer(this, adapter); > } > should work just fine. It just doesn't allow for callbacks and the setting of some standard Jmol command line switches, and, I think, it doesn't implement the language localization. Still, I don't recommend it. You should never access Viewer. That's what JmolViewer is for. The reason Viewer is public is simply so that the interfaces can access it. So let us know the answer to those two questions I posed. -- Robert M. Hanson Professor of Chemistry St. Olaf College 1520 St. Olaf Ave. Northfield, MN 55057 http://www.stolaf.edu/people/hansonr phone: 507-786-3107 If nature does not answer first what we want, it is better to take what answer we get. -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900 |