add exmaple for UI java