Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

stick figure movements

Posted on 2001-07-01
2
Medium Priority
?
395 Views
Last Modified: 2006-11-17
how do i get a stick figure to move left and right across an applet continuosly till the user clicks on the close button?
0
Comment
Question by:heuer
2 Comments
 
LVL 1

Accepted Solution

by:
tonus earned 300 total points
ID: 6245078
Hello,
         You can do this by use of  a Thread or by use of  timer class. Create a seperate Thread in the applet class which contineously draw the stick figure in at x,y position till the flag becomes true. Assign true to this flag on click of the button.
0
 
LVL 28

Expert Comment

by:rrz
ID: 6245221
For an example,
look at the Java Tutorial at the Sun site.
Look for the juggling "Duke" program.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

972 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question