How to check the JDK version of a class file
When running a Java application it is mandatory that the JRE version to match or to be higher that the JDK version used to compile the application.
You will get the "Unsupported major.minor version 52.0" error when trying to run an Java 1.8 application using a lower version of Java.
How to disable submit button with jQuery
For a long submit operation or to avoid users clicking twice a submit button, a common solution is to disable the submit button after user clicked on it.
To disable a button using jQuery you need to add the disabled
attribute to the button as true.
SWT Button Selection Event
SWT Button Selection Event. A simple example using SelectionListener interface to add an event to a button.
How to centre a SWT shell in the middle of the screen
How to centre an SWT shell in the middle of the primary monitor. Four simple steps, create the shell, get monitor size, calculate the centre and set the shell new location.
SWT Hello World Application
SWT Hello World Application. A simple application that can be used as a base for any SWT application.
log4j.properties basic examples
log4j.properties basic examples. Output to the console and to the file.