Added exercise for Java UI Part 1

Added exercise for Java UI Part 1