I am using the following code to plot the target on the window.
But I would like to place an object instead of the point(target) so that the object moves when I change the x and y position of the object. Right now the previous point remains on the screen even after I plot a new point on the screen. Basically I would like to move the point around the screen so that only one point is visible at a time. If someone could send me a code for creation of objects or icons which can be moved around the screen unlike a point which is retained on the screen. Another problem with the point is that once I minimize the screen the point is rubbed off. Can anyone tell me how to create objects at run time and move them on the screen? My email id is firstname.lastname@example.org