Testing our Environment – part 5

Having tested our code in Eclipse and proved it works there we now need export our code to the file system.

To get our code out of Eclipse we will export the files from Eclipse to our file system. Continue reading “Testing our Environment – part 5”

Advertisements
Testing our Environment – part 5

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

Installing JGoodies Forms and Binding

As JGoodies provides both the Bindings and Forms libraries we can download these both from the same site.

  • Open a browser and go to ‘http://www.jgoodies.com
  • Select ‘Download and choose ‘Java Libraries
  • From the list of java libraries select and download ‘JGoodies Forms’ and ‘JGoodies Bindings’.  For this program I will be using Forms 1.7.1 and bindings 2.9.1.
  • Open each package in turn, locate the Java ARchive (JAR) file (‘jgoodies-binding-2.9.1.jar’ and ‘jgoodies-forms-1.7.1.jar’) and copy these files.

We are going to place a copy of the JAR files into the ‘plugins’ directory of the Eclipse installation.  Locate where you installed Eclipse and find the subdirectory ‘plugins’.  Copy the JAR files into this directory.  This will make it easier when we come to add these into our program.

Installing JGoodies Forms and Binding