(ActionEvent event)
| 36 | |
| 37 | onSendCommand(new ActionListener() { |
| 38 | public void actionPerformed(ActionEvent event) { |
| 39 | try { |
| 40 | OutputStream out = channel.getOutputStream(); |
| 41 | out.write(textField.getText().getBytes()); |
| 42 | out.write('\n'); |
| 43 | out.flush(); |
| 44 | } catch (IOException e) { |
| 45 | e.printStackTrace(); |
| 46 | } |
| 47 | textField.setText(""); |
| 48 | } |
| 49 | }); |
| 50 | } |
| 51 |
nothing calls this directly
no test coverage detected