B. Trang wrote:

> Anyways, I have a question about
> embedding the jmol viewer into my Java Swing application.

OK ... it should be quite easy.

> I do not need the full features of Jmol, just the ability to
> view .mol files.

You will get almost the whole thing.

> Can you direct me on where I can find
> instructions for doing this?


1. Check out the source and download it using anonymous CVS checkout.

2. Look at examples/Integration.java and examples/JmolTable.java

Integration.java shows how to embed the entire Jmol viewer into a Swing
JPanel. You can then put this JPanel anyplace you want. You can also use
the viewer object to send arbitrary scripts to the panel.

Ask if you need more help.


Miguel



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Jmol-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to