A Java application that displays time as a text