Skip to Content
0
Former Member
Dec 10, 2004 at 12:35 PM

Problem with reading data from textEdit (htmlB)

32 Views

Hi Guys,

I am not able to read text entered into the TextEdit box.

Here is the code which I am using.

-


TextEdit TE1 = (TextEdit) this.getComponentByName("TextEdit1");

strTE1 = TE1 .getText();

-


On the second line I get a null pointer exception.

Thanx,

sk