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.
Hi Mathias, You can receive mouse events by adding a DisplayListener to your Display. In the DisplayListener's displayChanged method, check the DisplayEvent's getId method for DisplayEvent.MOUSE_PRESSED_LEFT, DisplayEvent.MOUSE_RELEASED_LEFT, etc. -Curtis At 11:09 18-01-01 +0100, you wrote: >Hi there, > >I just want to know if there is any possibility to add a MouseListener to a >DisplayImplJ3D. I tried to do this with > >JPanel display3DPanel = (JPanel)display3D.getComponent(); >display3DPanel.addMouseListener(this); > >but there was no effekt. No MouseEvents were sent to my program. > >Cheers, Mathias
visad
archives: