posted 19 years ago
thanks Nigel for the prompt response,as it made me to go through the code
and i found that the line that adds the panel containing the JTextField on the Container(JFrame) was not present in my code.
i added the panel on the Container and code worked.
thanks