NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: "Hyperlink" on points

Hi Geert,

> When I have some points plotted, I want to click on a point and in
> another JPanel get some explanation of that point.
> So how can I add an MouseEventListener to a point?
> Can someone help me?

You can do this using visad/bom/PickManipulationRendererJ3D.java.
See its main() method for an example of use. All your points will
be like the RealTuple case in the main() method. Note the user will
select points with a right mouse click (you can change this by
extending the MouseBehaviorJ3D class).

Good luck, Bill


  • 2001 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: