[5167] in java-interest

home help back first fref pref prev next nref lref last post

Bouncing Ball...take 2...

daemon@ATHENA.MIT.EDU (Paul Benati)
Tue Jan 30 15:40:54 1996

Date: Tue, 30 Jan 1996 14:24:14 -0500
To: java-interest@java.sun.com
From: Paul Benati <benatip@pcd.kodak.com>

Group,

I have another question.  In the bouncing ball program (attached below) 
when the user depresses the mouse the ball stops its movement.  When the 
ball is stopped, then the user can depress the <CTRL> and mouse button 
to draw a line from the ball's origin to the mouse cursor location.  My 
question is, why doesn't the event's (x,y) location equate to the location 
of the cursor?  [I'm on a Windows95 box.]

Paul

Paul Benati
  Digital Imaging Evangelist
  Software Engineer/Imaging Scientist

  Eastman Kodak Company       benatip@kodak.com           
  http://www.kodak.com/          ftp.kodak.com
  901 Elmgrove Road              (716) 253 - 1775 (EP Office)
  Rochester, NY 14653-5555       (716) 726 - 7295 (EP Fax)
                                       233 - 1775 (KMX/Internal)

  "I know that you believe you understand what you think I said, but 
   I am not sure you realize that what you heard is not what I meant." 

    -- by unknown author.                                    

-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post