How to generate JAXB classes with xjc
How to generate JAXB classes with xjc. Command line: xjc -d src -p com.admfactory.client schema.xsd
HTTP URLConnection with proxy in Java
How to create an HTTP URLConnection with proxy in Java. Simple example including proxy authentication.
How to Check Alexa Rank in Java
How to Check Alexa Rank in Java using the undocumented API: http://data.alexa.com/data?cli=10&url=domainName. The code contains also the possibility of adding proxy settings
How to deep clone an object in Java
How to deep clone an object in Java. The clone method from the parent object needs to clone each child object separately and added to the cloned parent object.
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.