Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在同一个文本区域显示多条消息而不清除任何以前的消息。
double betAmount=100; messages.setText("you are betting,$"+betAmount+"\n"); messages.setText("you stand\n"); messages.setText("you hit\n");
你在下注,100.0 美元你站你打
messages.setText("you are betting,$"+betAmount+"\n"); messages.append("you stand\n"); messages.append("you hit\n");