<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>hello,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>i made a little application Swing/Java which
displays one mesh.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>I made a vtkPanel objetc. Then i addes three
buttons to change in real time the actor's color, but nothing
happens </FONT></DIV>
<DIV><FONT face=Arial size=2>when i click the button.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV> <FONT face=Arial size=2>Here is the code of my ActionListener method
for each button :</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><B><FONT color=#7f0055 size=2>
<P>public</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055
size=2>void</B></FONT><FONT size=2> actionPerformed(ActionEvent event){</P>
<P></P>
<P>renWin.GetRenderer().RemoveActor(acteur);</P>
<P>acteur.GetProperty().SetColor(rouge,vert,bleu);</P>
<P>renWin.GetRenderer().AddActor(acteur);</P>
<P>renWin.Render();</P>
<P>}</P>
<P> </P>
<P><FONT face=Arial>but nothing happens (renWin is my vtkPanel object) . What is
the problem ?</FONT></P>
<P><FONT face=Arial></FONT> </P>
<P><FONT face=Arial>Thanks,</FONT></P>
<P><FONT face=Arial></FONT> </P>
<P><FONT face=Arial>Frédérik</FONT></P>
<P> </P></FONT></DIV></BODY></HTML>