I'm not going to do your work for you. If you want the String formatted, you're going to have to format the String. Google is your friend there. Why don't you try something and post an MCVE...
Type: Posts; User: KevinWorkman
I'm not going to do your work for you. If you want the String formatted, you're going to have to format the String. Google is your friend there. Why don't you try something and post an MCVE...
I have run your code.
Where are you doing the formatting of the text so that it includes colons?
I still don't really know what you're trying to do. Can you give us an example of how somebody would use your program?
STOP YELLING
What does this code do? What are you trying to accomplish exactly? What do you think the timer.replaceSelection() method does?