Alert Screen

I have an AmountTextBox,followed by a Message TextBox.

I am entering an amount in the AmountTextBox,that amount should be checked,and if there is any error it will display an alert screen to re-enter a valid amount in the AmountTextbox.

But the Problem is that when i enter a wrong amount it s no displaying the alert , it directly display the AmountTextBox .Even the AlertScreen works properly

[413 byte] By [HoOpOea] at [2007-10-2 9:57:51]
# 1
without code we can't help i'm afraid
akupersa at 2007-7-17 0:03:16 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 2

if (d==entryScreen) {

if((c==addCommand)||(c==List.SELECT_COMMAND)) {

int len = listFormat.length;

String addRecords[] = new String[len];

for(int i=0;i<len;i++)

{

if(listFormat.startsWith("N"))

addRecords=textField.getString();

else if(listFormat.startsWith("E"))

{

String email = textField.getString();

boolean check = valideMail(email);

if(check)

addRecords=textField.getString();

else

{

showError("Enter");//I can't not display this alert?

genEntryScreen(listFormat,len);

}

}

else

addRecords=textField.getString();

}

appList.addRecord(addRecords);

// add temporary menu item in the gstrMenuItem, so that in the menu

// back tracking will still be in the same menu item.

if (IsListMaintenance) {

gstrMenuItem = gstrMenuItem + ".TMPMENU";

}

appList = null;

getItemField();// this method calls other Screens?

}

if(c==backCommand) getItemField();>

HoOpOea at 2007-7-17 0:03:16 > top of Java-index,Java Mobility Forums,Java ME Technologies...