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
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to