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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Question regarding applet.

Status
Not open for further replies.

lck092580

Programmer
Jun 19, 2002
440
CA
Hello, I'm writing an applet (not J) that has an animation in it (two pics bouncing around the screen). The problem I have is that I don't know the correct boundary coordinates in which the images are supposed to bounch back. The dimension that I get by calling the getSize() method seems to give me incorrect #s. Could anyone point me into the right direction as to how I can get the exact boundary coordinates? Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top