<div dir="ltr">Hi <span style="font-family:arial,sans-serif;font-size:13px">Frederic,</span><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div style><font face="arial, sans-serif">I don't know what is the history of that method call.</font></div>
<div style><font face="arial, sans-serif">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.</font></div>
<div style><font face="arial, sans-serif"><br></font></div><div style><font face="arial, sans-serif">To learn how to use them, just look at the sample codes that are available inside the Wrapping/Java directories.</font></div>
<div style><font face="arial, sans-serif"><br></font></div><div style><font face="arial, sans-serif">Seb</font></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Apr 25, 2013 at 9:42 AM, TINGAUD Frederic <span dir="ltr"><<a href="mailto:Frederic.TINGAUD@murex.com" target="_blank">Frederic.TINGAUD@murex.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="FR" link="blue" vlink="purple"><div><p class="MsoNormal"><span lang="EN-US">Hi all,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">I was wondering why we have the following line in the code of vtkCanvas.java:<u></u><u></u></span></p><p class="MsoNormal">
<span lang="EN-US" style="font-family:"Courier New"">public void mouseEntered(MouseEvent e) {<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New""> this.requestFocus();<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New""> …<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">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.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Am I missing something here?<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">Regards,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">Frederic<u></u><u></u></span></p></div><p style="line-height:19px;margin:0px 0px 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;color:#2a2a2a">
*******************************</p><p style="line-height:19px;margin:0px 0px 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;color:#2a2a2a"><span lang="EN-GB" style="line-height:17px;font-size:10pt;color:black;font-family:Arial">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. </span><span style="font-family:Arial" color="black" size="2"><span style="line-height:17px;font-size:10pt">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.</span></span></p>
</div><br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
<br>
<br></blockquote></div><br></div>