Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

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
==============================================================================


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690