change java app message