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.
File Path, Absolute Path and Canonical Path in Java
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
How to create tiny HTTP server in Java using ServerSocket class.
How to get HTTP Response Header using URLConnection in Java
How to get HTTP Response Header using URLConnection class in Java.
Search
Other Posts
Follow Us On