The Artima Developer Community
Sponsored Link

Java Answers Forum
Java Applet paint()

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
José Alberto Muñiz Navarro

Posts: 1
Nickname: joseamuniz
Registered: Oct, 2003

Java Applet paint() Posted: Oct 27, 2003 1:23 PM
Reply to this message Reply
Advertisement
I am writing a Parabolic Movement Applet. It is going fine, but I have a big problem. The applet simulates the movement by obtaining the values of x and y in every 0.01 m of the movement. However... when it finishes being drawn... it is drawn again.

The same thing happens to the animation of the tower being hit ... it happens twice!

I don't know what to do... :/ I have tried / read everything I can but i can't come up with an answer. Does anyone know?

If you wish to view the applet it is here:

http://crew.nukezone.nu/jose/Fisica/TiroParabolico.html Link to Applet
http://crew.nukezone.nu/jose/Fisica/TiroParabolico.java Link to Source

Topic: Academic Research for USA I.T. Professionals (No e-mail required) Previous Topic   Next Topic Topic: urgent help needed

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use