Re: [問題] 有關j2me的問題
※ 引述《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
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 3 之 3 篇):