<br><br><div class="gmail_quote">On Tue, Jul 17, 2012 at 12:16 AM, satyanarayana reddy <span dir="ltr">&lt;<a href="mailto:satyajanga@gmail.com" target="_blank">satyajanga@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi vtkusers,<div>           I have a vtkCanvas object which renders  vtkImageData and it is working absolutely fine. </div><div>           My application consists of a JFrame with JTabbedPane in it. A Simple requirement in my application is that whenever a tab gets selected I have to remove the vtkCanvas object from the previous active tab and add it to the current active tab. When I am trying to do it I am getting the following error.</div>

<div>           </div><h2 style="margin:0px 0px 20px;padding:0px;text-align:justify"><font color="#003366" face="palatino, georgia, times new roman, serif" size="4"><span style="line-height:19px">wglMakeCurrent failed in MakeCurrent(), error: handle Invalid()</span></font></h2>

<div>Please give me some pointers about where I am doing wrong.</div><div><br></div><div>Thanks a lot</div><div><br></div><div>Best Regards,</div><div>Satya.</div><div><br></div><div><font color="#003366" face="palatino, georgia, times new roman, serif" size="4"><span style="line-height:19px"><br>

</span></font></div><div><font color="#003366" face="palatino, georgia, times new roman, serif" size="4"><span style="line-height:19px"><br></span></font></div>
</blockquote></div><br>