public boolean onClose(){
String[] choices = {"EXIT", "CANCEL"};
if ( 0 != Dialog.ask("Do you want to exit this program?",choices, 0) )
{
return false;
}
Status.show("Bye bye!");
System.exit(0);
return true;
}
文章评分1次,平均分5.0:★★★★★

木有个demo么~~~
这个太简单了,还要demo干吗。。。就几行字。