public void setMsg(String msg) {
txtArea1.append(msg);
JOptionPane.showMessageDialog(null,msg);
}
Messge are displaying on Message dialog but not displaying in Text Area..wahy?
语法看起来正确,请尝试关闭Eclipse-Netbeans any / cleaning项目。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.