The image gets drawn at the wrong position
问题 This is the final output of my thread that takes screenshots and stores them in a vector. java.awt.Robot is used to take screenshots which are basically rasters of the screen and does not contain cursor position. As a way around, I use the MouseInfo class to get PointerInfo and then get a Point . Then draw an image at that point. All is cool if recording area is set to full screen resolution. However if I change the recording area, the cursor gets drawn at the wrong position. This black