Stops the current command.
()
| 515 | * Stops the current command. |
| 516 | */ |
| 517 | public void stop() { |
| 518 | if(command != null) command.stop(); |
| 519 | cursor(CURSORARROW, true); |
| 520 | input.setCursor(CURSORTEXT); |
| 521 | stop.setEnabled(false); |
| 522 | command = null; |
| 523 | } |
| 524 | |
| 525 | /** |
| 526 | * Checks if a command with the specified ID is still running. |