Welcome to the Java Programming Forums
The professional, friendly Java community. 21,500 members and growing!
Members have full access to the forums. Advertisements are removed for registered users.
It jumps coz the size of image is too large and it takes your image to the mouse position whenever you try to drag it.
Hint: Let mouse drag the image if mouse is inside the image coordinates.