For loop examples in Golang

  • 13 April 2020
  • ADM

How to write a for loop using Golang programming language. Similar with other programing languages, the basic for loop has three components separated by semicolons.


How to show open database connections in MySQL

  • 07 April 2020
  • ADM

How to show open database connections in MySQL using show status and show processlist command.


How to measure execution time in Golang

  • 19 December 2019
  • ADM

To mesure the time used by an application in Golang or of a code section the functions time.Now() and time.Since() can be used.


SWT Table Example

  • 13 June 2017
  • ADM

SWT Table Example. A simple example using Table, TableColumn and TableItem.


SWT Button Selection Event

  • 05 June 2017
  • ADM

SWT Button Selection Event. A simple example using SelectionListener interface to add an event to a button.


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.