Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help please!! Multi Thread....

Status
Not open for further replies.

qb828

Programmer
Sep 27, 2000
98
US
I am so lost.

I have a clien's project which displays a arrarys of photos across the screen but starting point is randowm.
It is like flying across the screen, mean time, i need to change the images.

i had it working with just rectangle shape instead of images. It flys by the screen and starts at the random place.

I am trying to load images but having trouble with OO programming, I guess.

I have three classes:

MainImage class extends applet implements runnable{
}

ImagePosition class extend shape class{
change the direction of image(left to right then right to left)
change the how much it moves
}
Shape class{
draws rentagles
keep track of x & y points
}

can you help me where I should loas images.
I need to start the images and random place and
images bounce back to opposite direction when hits other side.

can you give some direction how i should break this down..
i know that i haven't explain enough..


QB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top