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.
In a simple 2D plotter built with visad, I'd like to detect which line (or lines) the mouse is over. I have registered a DisplayListener on the Display, but I am uncertain how to do two things: - detect mouse motion events (now I just get MOUSE_PRESSED and RELEASEd) - figure out which line the mouse is over - display a small tooltip-like tranisent window on top of the display, announcing the name of the line. Tips on any of these points will be most welcome! - Paul
visad
archives: