Hello Guys,

I have a question. I am trying to modify the LineArray Coordinates at
run-time. It draws the new Co-ordinates but leaves the old one also there.
Like its not repainting or something. Anyone? any ideas??

this is the code sample:-

                Point3f p3 = new Point3f;
                LineArray line = (LineArray)m_shape.getGeometry();
                for (int i=1; i<m_counter; i++) {
                        line.setCoordinate( m_nLine++, p3 );
                        m_p3.x += 1;
                        m_p3.y  = m_list[i];
                        line.setCoordinate( m_nLine++, p3 );
                }

Thanks

Ahmed

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to