09-22-2008 03:27 PM
I've got a problem with a class of mine that extends TextField. When I open the context Menu on MyTextField, the default options appear. If I choose "Show Symbols", my program shows an error that says "ClassCastException". I thought that maybe I had done something wrong with my class, but then y tried the same with a regular TextField and the same problem came up. Anyone knows how I can get that option to work?
Solved! Go to Solution.
09-23-2008 09:39 AM - edited 09-23-2008 09:40 AM
09-23-2008 10:57 AM
I'm creating a BlackBerry application using net.rim.device.api.ui.component.TextField
The error appears also with the base TextField. I'm using the 8800 Simulator, it says "BlackBerry Device Simulator 220.127.116.11" but i tested my program on another one before (o don't remember which) and the same thing happened.
09-23-2008 02:28 PM
TextField is the base class for BasicEditField and RichTextField, but can not be instantiated directly. How are you adding the TextField to your screen? Can you provide a code snippet that reproduces the exception?
The version you have listed is for the BlackBerry Simulation tool itself. What is the BlackBerry handheld software version running within the tool? You can see this by going to Options (wrench icon), About within the BlackBerry Simulator.