How to change computer's IP address from command line

  • 17 June 2019
  • ADM

The command line tool used to change the IP address is netsh which allows you to configure just about any aspect of your network connections in Windows. In order to use the tool the command line needs to be started as Administrator


How to generate JAXB classes with xjc

  • 05 March 2018
  • ADM

How to generate JAXB classes with xjc. Command line: xjc -d src -p com.admfactory.client schema.xsd


How to get local computer name and IP in Java

  • 05 March 2018
  • ADM

How to get local computer name and IP in Java. Simple snippet using InetAddress.getLocalHost() method.


6 methods how to loop a Map in Java

  • 15 June 2017
  • ADM

How to loop a Map in Java. 6 different methods to loop through a map. The main difference is the looping method.


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.


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.