Color change by area in swt?
问题 sorry I use a translator first, so please understand enter image description here What I want is that there is a swt program like that and I want to make a program that moves once a second and finishes up to 30m I implemented it until it moved, but I want to change the color of the background as much as it moved, but I don't know what to do. I want to separate the moved part and the remaining part like this Can you tell me how to change the color of the pasted area like this? Examples are