Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Text widget as a console
Text widget as a console [message #464378] Tue, 22 November 2005 08:17
Eclipse UserFriend
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: Sat Jul 05 00:03:52 EDT 2025

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

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

Back to the top