Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Text widget as a console
Text widget as a console [message #464378] Tue, 22 November 2005 13:17
Thomas Tolborg is currently offline Thomas TolborgFriend
Messages: 20
Registered: July 2009
Junior Member

I would like to have my Text widget act as a log console.
As my application is running, more and more text will be added to the
I would like to set a limit on max number of characters in the console
and the have it working as FIFO (first in first out). Hence when new
text is added to the console - a similar textlength will be removed from
the top of the console.

I tried using the setTextLimit(String) method, but it sets the limit so
effectively that no more text can be added after the limit has been reached.

Previous Topic:Apply GridData for button created by jface action
Next Topic:Change and recompile SWT
Goto Forum:

Current Time: Fri Feb 26 07:41:23 GMT 2021

Powered by FUDForum. Page generated in 0.01454 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top