[vtk-developers] Focus weirdness with vtkCanvas in Java

Sebastien Jourdain sebastien.jourdain at kitware.com
Thu Apr 25 11:39:14 EDT 2013


Yes I'm talking about them, but mostly the awt one unless you are using
swt...
To use the swt one, you will need to provide enough information to cmake at
build time...

Seb


On Thu, Apr 25, 2013 at 11:24 AM, TINGAUD Frederic <
Frederic.TINGAUD at murex.com> wrote:

> Hi,****
>
> ** **
>
> Are you talking about the vtkAwtComponent /vtkSwtComponent? I didn’t knew
> about them, it is cool to see that java wrapper are evolving! I will have a
> look at them.****
>
> ** **
>
> Thanks,****
>
> ** **
>
> Frederic****
>
> ** **
>
> *De :* Sebastien Jourdain [mailto:sebastien.jourdain at kitware.com]
> *Envoyé :* jeudi 25 avril 2013 16:01
> *À :* TINGAUD Frederic
> *Cc :* vtk-developers at vtk.org
> *Objet :* Re: [vtk-developers] Focus weirdness with vtkCanvas in Java****
>
> ** **
>
> Hi Frederic,****
>
> ** **
>
> I don't know what is the history of that method call.****
>
> Although, if you are using the latest VTK (the soon to be release), you
> should probably use the new set of rendering classes instead. They provide
> a cleaner and more flexible API.****
>
> ** **
>
> To learn how to use them, just look at the sample codes that are available
> inside the Wrapping/Java directories.****
>
> ** **
>
> Seb****
>
> ** **
>
> On Thu, Apr 25, 2013 at 9:42 AM, TINGAUD Frederic <
> Frederic.TINGAUD at murex.com> wrote:****
>
> 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.****
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
> ****
>
> ** **
>
> *******************************
>
> 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/6d3e6b26/attachment.html>


More information about the vtk-developers mailing list