Whilst developing an application the other day I wanted to create a repeating task. Looking around for a solution I came across the Timer and TimerTask classes. These two classes in combination looked like a perfect solution to my problem. It was only when I came to implement my solution I noticed something about how they work. Continue reading “Using Java Timer to build a countdown timer”
ANT – A worked example
Imagine we have a small JavaFX application. We are building this application in Eclipse, although this should not make any material difference, you could build it in using any IDE or simple command line tools.
This application has some java files under the “src” folder. There is also a “resources” folder which contains some none java files which the application will reference. Added to this we are using some 3rd party JAR libraries. Finally, we have a text-based properties file for our application.
Our project structure looks like this:

We are going to use ANT to produce a Windows executable application. The steps we need to take to do this are: – Continue reading “ANT – A worked example”

