i facing problem of Alert component in j2me 1.0

In my program,i use the class Alert to display the info:

selectalarm.setType(AlertType.INFO); selectalarm.setString("well done");

the alert screen will show, but it will cancel/turn off after keypress and back to orignal menu.
how about cancel the alert with keypress and called another function to display another screen(menu list) so it didn't go back to original menu??
i didn't know how to detect key event when keypress on Alert shown.

how to detect the event of keypress in midlet? i no sure the extended midlet can detect the keypress...the command component can't add to Alert class to indicate command key select or back.

any solution?