simple gui to check if text is a palindrome
in dis simple gui iam reading in the text from textfield tf and displaying the result in textfield trf.
the problem iam facing is quite amusing actually,when i run the gui for the 1st time,i get the correct output,ie if my text is say 'madam' i get the output saying 'madam is a palindrome'
i use the 'refresh' button to clear both fields .
when i give the input text,the second time,irrespective of my input,i keep getting the output dat entered text is a palindrome.
i set the input string 'in' to null after i completed the process of checking for a palindrome.
but that dosent seem to help either.
Re: simple gui to check if text is a palindrome
Please see the link in my signature on asking questions the smart way (particularly the parts about using proper spelling and grammar) then post an SSCCE (not an attachment), and we'll go from there.