作者wt ( 大恶魔 = =+)
看板java
标题Re: [问题] 有关j2me的问题
时间Tue Nov 21 00:47:05 2006
※ 引述《ArzasV (林志玲来电~林志玲来电!)》之铭言:
: append(" BLUETOOTH GAME",null);
: append(" ",null);
: append(" ",null);
: append(" Connection",null);
: append(" Setting",null);
: append(" High Scores", null);
: append(" About",null);
: 我的程式码如上
: 这是选单的程式
: 可是我在选择的时候会选到第二排跟第三排的null
: 要怎麽改才能跳过null 直接从BLUETOOTE GAME跳到Connection呢?
用 \n协助换行试试看
append(" Bluetooth GAME\n\n\\n");
可是这样做之後,选择不好判断。
我觉得应该要用object来当作选项会比较好 EX:stringitem之类
才能让soft botton针对选择的项目来决定要执行的动作
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 59.115.228.158