我做的是一个图形界面,点击发送就会调用client中的main()执行发送功能。可是每次一点击发送,图形界面就出现问题不能正常工作,不能移动,不能正常关闭了。这是为什么呢?
button触发事件:
button_1.addSelectionListener(new SelectionAdapter() {
@Override
public void widgetSelected(SelectionEvent e) {
Client.main(text_1.getText());
});
button触发事件:
button_1.addSelectionListener(new SelectionAdapter() {
@Override
public void widgetSelected(SelectionEvent e) {
Client.main(text_1.getText());
});
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货