Hi Jeff,<br><br>You are right! I called the Render() method and it is now working.<br><br>Thank you!<br>Thao<br><br><div class="gmail_quote">On Mon, Jan 18, 2010 at 10:52 AM, Jeff Baumes <span dir="ltr">&lt;<a href="mailto:jeff.baumes@kitware.com">jeff.baumes@kitware.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">On Mon, Jan 18, 2010 at 12:41 PM, thao &lt;<a href="mailto:thao10@gmail.com">thao10@gmail.com</a>&gt; wrote:<br>

&gt;<br>
&gt; Hello all,<br>
&gt;<br>
&gt; My application consists of a vtkPanel in a JFrame.  I have a button for the<br>
&gt; user to reset the camera.  When this button is pressed the vtkPanel should<br>
&gt; refresh.  But it looks like it is only refreshing when I minimize the whole<br>
&gt; JFrame window and then maximize it again.<br>
&gt;<br>
&gt; Does anyone have a suggestion on how to properly refresh a vtkPanel in a<br>
&gt; JFrame?<br>
&gt;<br>
<br>
</div>Are you calling just ResetCamera()? You also need to call Render() to<br>
make the view re-render. Could you send the code that is executed when<br>
the button is pressed?<br>
<font color="#888888"><br>
Jeff<br>
</font></blockquote></div><br>