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
Hi

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
console.
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.

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


Current Time: Fri Apr 26 05:42:06 GMT 2024

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

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

Back to the top