I know this is probably a pretty dumb question, but I’m stumped.
I am trying to use drawString to show a countdown timer. However, the previous values never clear so I end up with all the numbers overlaying.
I tried to use clearRect but that clears to the background color. I’m using the glasspane and want to show the countdown over what is already on screen.
How can I remove the text already showing on the glass Pane?