Changeset 99
- Timestamp:
- 04/17/06 15:36:48 (3 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/org/thestaticvoid/iriverter/LogViewer.java
r97 r99 54 54 public void logMessage(final String message) { 55 55 Display.getDefault().syncExec(new Runnable() { 56 public void run() { 56 public void run() { 57 57 text.append(message + "\n"); 58 text.setCaretOffset(text.getCharCount());59 58 60 59 if (message.charAt(0) == Logger.PREFIX[Logger.INFO].charAt(0)) … … 69 68 for (int i = 0; i < lineColors.size(); i++) 70 69 text.setLineBackground(i, 1, (Color) lineColors.get(i)); 70 71 text.setSelection(text.getCharCount()); 71 72 } 72 73 });
