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:★★★★★
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; }
本文原始地址:https://www.tiandiyoyo.com/2009/09/blackberry_popscreen/
本站所有文章,除了特别注明外,均为本站原创,转载请注明出处来自www.tiandiyoyo.com
木有个demo么~~~
这个太简单了,还要demo干吗。。。就几行字。