[vtk-developers] Focus weirdness with vtkCanvas in Java

TINGAUD Frederic Frederic.TINGAUD at murex.com
Thu Apr 25 09:42:11 EDT 2013


Hi all,

 

I was wondering why we have the following line in the code of
vtkCanvas.java:

public void mouseEntered(MouseEvent e) {

  this.requestFocus();

  ...

 

It would make sense to me, if we had this requestFocus() in the
mousePress event (even if java no longer needs it since some time), but
in the mouseEntered event, it just seems wrong, as it stills the focus
and puts on top any window containing vtkCanvas, as soon as you hover
it.

Am I missing something here?

 

Regards,

 

Frederic

*******************************

This e-mail contains information for the intended recipient only. It may contain proprietary material or confidential information. If you are not the intended recipient you are not authorised to distribute, copy or use this e-mail or any attachment to it. Murex cannot guarantee that it is virus free and accepts no responsibility for any loss or damage arising from its use. If you have received this e-mail in error please notify immediately the sender and delete the original email received, any attachments and all copies from your system.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20130425/555c47a1/attachment.html>


More information about the vtk-developers mailing list