title: Moving objects to mouseclick position java
body: <p>I'm fairly new to programming. I'm trying to figure out how to move an object to the position where my mouse clicks within a panel. The object can be represented as a shape like a circle and is initialized at the top left corner of the panel. When I click, I don't want it to teleport to the position of where my mouse clicks but rather move there smoothly. How do I do that?</p>