the distance moved by the mouse is not equal to the amount by which the image is moved. My guess is that the second problem is due to a mismatch between the logical coordinate system and the pixel coordinate system
luck, db
There are no new questions, but there may be new answers.
Randall Fairman wrote:I also got rid of the invokeLater() since I don't see why it's necessary here. Am I missing something?
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
luck, db
There are no new questions, but there may be new answers.
luck, db
There are no new questions, but there may be new answers.
Randall Fairman wrote:The code that's inside invokeLater() doesn't do anything to the UI.
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
Get off me! Here, read this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
|