Andreas wrote:
>> Q: Can you tell me which JmolViewer methods your code is currently
>> using?
>
> not too many :
> the embedding is as described in Integration.java.
OK, I am familiar with that code ;-)
> and I added a very simple mouse (motion) listener:
>
> <snip>
> public void mouseMoved(MouseEvent e) {
> int pos = viewer.findNearestAtomIndex(e.getX(),e.getY());
> if ( pos == -1 ) { return ; }
>
> String chainId = viewer.getAtomChain( pos) ;
> String seqCode = viewer.getAtomSequenceCode( pos) ;
> ...
> </snip>
So, currently that is the *only* data that you are getting from the viewer?
Miguel
-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
Jmol-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jmol-developers