add the image to a label
add the label to a panel with null layout
add mouselistener and mousemotionlistener to the label
in mousepressed get the offset of the pointer
in mousedragged reset the labels location
use code tags when posting code
do not post 100's of lines of code
do not pass go
do not collect $200
Do remove excess blank lines and commented lines that have no relevance to the present problem.
Do learn about encapsulation; don't have all fields public.
Do learn about the SSCCE <-- link which always helps you to get better help sooner.
luck, db
There are no new questions, but there may be new answers.