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

  • 01 June 2017
  • ADM

SWT Hello World Application. A simple application that can be used as a base for any SWT application.


When you get the "Installation failed: Could not create directory." in WordPress, you can follow these two easy steps.


File Path, Absolute Path and Canonical Path in Java. A simple example using both cases of file object: created using absolute path and created using a relative path.


How to create tiny HTTP server in Java using ServerSocket class.


How to get HTTP Response Header using URLConnection class in Java.