Fixed typo with textPane