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!

Applet - "Playing with Balls"

Deepak GoelJan 12 2021

Hello
I am looking for a java applet or otherwise example where the applet is full of balls. And when I move the mouse pointer, the balls around it move away from it.
Any idea on how can I achieve this?
Thank You
Deepak
Attached is a sample java file which solves this problem, but in a cumbersome way. Need a more elegant design as in the attached document "WhatIWant"
WhatIWant.docx (12.38 KB)
BallisticBalls.txt (6.07 KB)

Comments
Post Details
Added on Jan 12 2021
0 comments
202 views