"\" not treated the same way as other characters when at the end of String...what to do?
I've attached the applet in question.
For the first input box (on the left), if the user inputs a "\" symbol at the end, the input box does not replace all the text with a red "?". It just keeps tjhe text as is. In the second input box, if the user inputs a "\" at the end, the entire input box disappears!
The current behavior when "\" is at the end of the input box should not be occuring. It should be replacing the text with a red "?". Is there anything I can do about this?