Update ui examples to JavaSE-17 (#35)

Co-authored-by: Joerg Kubitz <jkubitz-eclipse@gmx.de>
6 files changed