See if you can do that in almost exactly that many lines of Java. Note that it might not use the same format or datatype for "current time" all three times. Your toolkit includes new Date() and System.currentTimeMillis()
This waits 30 seconds after the last display before exiting the loop. Can you fix that?
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com