How do I create a "jumping" circle in Java GUI?
Posted
by Roman
on Stack Overflow
See other posts from Stack Overflow
or by Roman
Published on 2010-03-21T13:05:52Z
Indexed on
2010/03/21
13:11 UTC
Read the original article
Hit count: 149
I would like to have a red filled circle at some place in my window. After the click on the circle, the circle should jump from the original place to a new one (disappear from the old place and appear on the new one). What would be the best way to do it?
I also would like to know how to draw a filled circle in Java. Are there any simple tools to do it? Or may be the easiest way is to use an image created by some other software?
© Stack Overflow or respective owner