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.