Link to home
Start Free TrialLog in
Avatar of dev_kittu
dev_kittu

asked on

J2ME CODE ERROR

I'm doing a project in J2ME , i get the following error message when i compile my class file this is a huge project please give me the solution .
related website any.
Below is my code:-
TextEvent tevent = (TextEvent)event;
and
while (!(event instanceof EndDocument));        

when i build, the error msg is :-
438: cannot resolve symbol symbol  : class TextEvent  
location: class org.GetData
 TextEvent tevent = (TextEvent)event;
     ^
462: cannot resolve symbol symbol  : class EndDocument
 
location: class org.GetData
 while (!(event instanceof EndDocument));
                                     ^  

can u pls tell me what's wrong for this two coding?

 thanks
Avatar of Mick Barry
Mick Barry
Flag of Australia image

sounds like you don't have the required imports

eg.

import java.awt.event.TextEvent;
Avatar of dev_kittu
dev_kittu

ASKER

i get the same error , after importing textevent class .  My wireless tool kit unable to find the class even though it was imported.

hi expert , does KXML package holds textevent class?
ASKER CERTIFIED SOLUTION
Avatar of keyurkarnik
keyurkarnik

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial