Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.
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: