Ignore:
Timestamp:
02/01/12 13:47:03 (13 years ago)
Author:
sherbold
Message:
  • minor improvements of the SWT GUI
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/swt/ConsoleTabComposite.java

    r357 r381  
    22 
    33import org.eclipse.swt.SWT; 
     4import org.eclipse.swt.widgets.Event; 
     5import org.eclipse.swt.widgets.Listener; 
    46import org.eclipse.swt.widgets.Text; 
    57import org.eclipse.swt.widgets.Label; 
     
    7678                gd_textConsoleOutput.widthHint = 456; 
    7779                textConsoleOutput.setLayoutData(gd_textConsoleOutput); 
     80                textConsoleOutput.addListener(SWT.Modify, new Listener(){ 
     81                    public void handleEvent(Event e){ 
     82                        textConsoleOutput.setTopIndex(textConsoleOutput.getLineCount() - 1); 
     83                    } 
     84                }); 
     85 
    7886        } 
    7987         
Note: See TracChangeset for help on using the changeset viewer.