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.
So let’s get started.
- Fire up Eclipse
- When Eclipse starts you will need to specify a location for your workspace but once done it will remember the selection.
- Create a Java project by selecting from the menu bar ‘File-New-Java Project’. A new project dialog box appears.
- Give your project a name. I will use ‘Build An App1’. Press the finish button.