Update JAVA UI - Reverse a string