CMS-3082 Introduce TextComponent in Java