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.
我正在调用一个递归方法,它每次都继续打印一个字符串。该方法有 textArea.append(String) 和 system.out.print(string)。system.outs 会按应有的方式打印(如字符串流)。但是 JTextArea 只打印一次