This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I can not find a way of only moving the clickedShape in my code. The code allows you to scale some drawn objects and add rectangles. You can also move the panel around. What would be useful now would be to just move the object that is clicked. Unfortunately the code below does not do this.
The aim is to move all the objects when I click on the panel and just move the clickedObject when I click on it.