()
| 404 | } |
| 405 | |
| 406 | private String getCmd() { |
| 407 | String s = ""; |
| 408 | try { |
| 409 | s = text.getText(cmdStart, textLength() - cmdStart); |
| 410 | } catch (BadLocationException e) { |
| 411 | // should not happen |
| 412 | System.out.println("Internal JConsole Error: "+e); |
| 413 | } |
| 414 | return s; |
| 415 | } |
| 416 | |
| 417 | private void historyUp() { |
| 418 | if ( history.size() == 0 ) |
no test coverage detected