Java library example.
Add UI class (no interaction yet).