thanks for your answer, Miguel
I took a look at my code
and I realized that I'm already using JmolStatusListener
but my problem is I want to know that user clicked on the window but
didn't pick up any atom
that's why I have the following code:
addMouseListener(new MouseAdapter(){
Dmitry wrote:
> Hi
> is there the public api to find the nearest atom from mouse click?
>
> what I found that package's method in the class org.jmol.viewer.Viewer
> int findNearestAtomIndex(int x, int y)
If you set up a jmol.api.JmolStatusListener then you will automatically be
called every tim
Hi
is there the public api to find the nearest atom from mouse click?
what I found that package's method in the class org.jmol.viewer.Viewer
int findNearestAtomIndex(int x, int y)
but JmolViewer abstract class doesn't have any appropriate method (at
least I didn't find it)
I can use reflection o