finally have UI updated from Java.