Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

making moving eyes in java

800636May 24 2008 — edited Aug 23 2008
i have been trying to make a java applet in which:

there is a circle as an eye (using the drawOval())
and then there is an eyeball (using the fillOval())
the eyeball is supposed to follow the movements of the mouse cursor...
and i m not able think of any idea to do that...

can anyone please give me an idea as to how to do this??
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 20 2008
Added on May 24 2008
20 comments
3,424 views