看板 java 關於我們 聯絡資訊
※ 引述《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