Add an example to use Java SE API