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.

mouse events

Hi everyone,

I added a DisplayListenner to my DisplayImpl2D and I also added a MouseListenner to my DisplayPanelJ2D (my display's getComponent) but this latter does not catch mouseEvent. I'd like to be able to "select" the panel adding a red border and depicting information on my DisplayImpl. I have tried to create my own JPanel which contains the display's canvas so I can add a red border but I can not depict information on the display. I have also tried to work with the display's getComponent so information can be depicted on the display but the panel does not catch mouseEvent...

Has anyone an idea ?

Thank you,

Celine Gestas

==============================================================================
To unsubscribe visad, visit:
http://www.unidata.ucar.edu/mailing-list-delete-form.html
==============================================================================


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