SWT update UI from another thread

  • 05 June 2017
  • ADM

SWT update UI from another thread. Used for long running operations and to avoid the UI being frozen during the operation.


SWT Button Examples

  • 01 June 2017
  • ADM

SWT Button Examples. PUSH, CHECK, TOGGLE, FLAT, ARROW examples.


File Path, Absolute Path and Canonical Path in Java

  • 22 May 2017
  • ADM

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.


Enum examples in Java

  • 24 April 2017
  • ADM

Enum examples in Java. Simple enum usage. How to convert String to Enum object. Enum object with fields and methods.


JUnit 3 vs JUnit 4 Comparison

  • 01 March 2017
  • ADM

Junit 3 vs Junit 4 Comparison. Junit 4 is introducing new features like annotations, static import, timeout.


Log4j 1.2.x basic example

  • 10 February 2017
  • ADM

This tutorial presents log4j 1.2.x basic examples. How to log a message and an exception.