(String s)
| 56 | } |
| 57 | |
| 58 | public void append(String s) { |
| 59 | try { |
| 60 | |
| 61 | synchronized (thread_lock) { |
| 62 | |
| 63 | StyledDocument doc = text.getStyledDocument(); |
| 64 | doc.insertString(doc.getLength(), s + "\n\r", null); |
| 65 | } |
| 66 | } catch (BadLocationException ex) { |
| 67 | |
| 68 | } |
| 69 | } |
| 70 | |
| 71 | public void appendErr(String s) { |
| 72 | try { |
no test coverage detected