A basic Application to get started – part 1

What is our code doing?

Now you may be thinking that we have just completed a basic application in the previous section and whilst that is true, that was all about proving our environment works.  Now we are going to assume our tools work and take a look at building our application.

As any experienced developer will tell you, when things go wrong with your application, it’s too late to wish you had some information to tell you what is going on; develop a strategy for capturing what your application is doing behind the scenes and implement it throughout your code.

For this application we are going to use a log file to write out what’s going on, more specifically we are going to use Log4J that we downloaded earlier. Continue reading “A basic Application to get started – part 1”

A basic Application to get started – part 1

Testing our Environment – part 1

Just to make sure we have everything up and working we will quickly create a small program just to prove the basics are in place.

Almost any programming course will start you off with a ‘Hello World’ app, so why should we be any different.

Now, I think I said right back at the beginning that this is not about learning the Java language and this is not about learning how to program, this is about using Java and our programming knowledge to build a desktop application in Java.   So that said the code presented here should not be a surprise to anyone; it’s a simple Class with a Main method that launches the application and will form the corner stone of everything we do going forward.

Testing our Environment – part 1