Hi,
From the description of what you are trying to do, I think you would use a
TextView and its setText() method. Is there any reason for using graphics
methods here? If yes perhaps, you could include the code of how your
graphics object is declared and used to help us debug this further.
Thanks,
Megha
On Mon, Feb 25, 2008 at 11:00 PM, Analdin Judy <j....@i-waves.com> wrote:
Hi all,
I want to display numbers in the text box when i pressing corresponding
key,
I use the below code ,But i got the error message .
*if*
*(**keycode* == KeyEvent.*KEYCODE_0* )
{
areacode=areacode+"0";
_graphics.drawString(areacode, xpos, ypos, Graphics.*TOP*|Graphics.*LEFT*);
xpos=xpos+10;
}
What is the code we have to use?
Thanks
judy