Changes two strings and DefaultCloseOperation