I was searching in this forum but I can’t find an answer for my problem.
I don’t know how to redraw an specific image(Component) on MouseDragEvent.
I painted all images in the paint(Graphics& g) method and added the images to ImageComponents. Then I added an MouseListener to one ImageComponent for testing and now I want to drag the specific ImageComponent. How can I do this?
I wrote the MouseDrag method in the public section of the class.
I hope someone can help me