Open

Sorry about the title of the post. My hand slipped and hit enter. My program displays an image and text when it is compiled. I am trying to add/modify objects each time I click the left or right button of the mouse. The reason all the time functions are similar is because I am trying to change/draw over the polygon with a same size polygon but a different time. When the program starts, the polygon displays 1:30:00 PM. When I click the first time, the polygon is replaced with a same size polygon with the time of 1:45:00 PM. When I click for a second time the polygon disappears. I am trying to loop the mouse click so I can keep replacing the polygon with a different time each time I click the left button. Any help is appreciated.