(ActionEvent e)
| 81 | // 执行按钮点击事件 |
| 82 | executeButton.addActionListener(new ActionListener() { |
| 83 | @Override |
| 84 | public void actionPerformed(ActionEvent e) { |
| 85 | // 清空文本区域 |
| 86 | resultArea.setText(""); |
| 87 | String command = commandField.getText().trim(); |
| 88 | String endcount = endcountField.getText().trim(); |
| 89 | executeCommand(command, endcount, resultArea); |
| 90 | } |
| 91 | }); |
| 92 | |
| 93 | // 选择文件按钮事件 |
nothing calls this directly
no test coverage detected