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.
Get latest updates about Open Source Projects, Conferences and News.