Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » New TextLayout created each time text is added in StyledText
New TextLayout created each time text is added in StyledText [message #1864726] Fri, 05 April 2024 07:04 Go to next message
Hélène O. is currently offline Hélène O.Friend
Messages: 4
Registered: December 2021
Junior Member
Hi !

My GUI written in SWT gets slower while running.
I found - using Sleak tool - that a TextLayout instance is created each time a character is added in my StyledText instance.

You can find a little snippet attached to this message.

Thanks a lot for your help!


Re: New TextLayout created each time text is added in StyledText [message #1864727 is a reply to message #1864726] Fri, 05 April 2024 07:07 Go to previous message
Hélène O. is currently offline Hélène O.Friend
Messages: 4
Registered: December 2021
Junior Member
I forgot to specify that I work on Linux Ubuntu with the last version of SWT.
Previous Topic:Java eclipse RCP application is crashing on accessing system remotely using tightvnc or RDC
Next Topic:embedding SWT v4.31 jar in an app jar results in SecurityException
Goto Forum:
  


Current Time: Mon May 06 23:15:30 GMT 2024

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

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

Back to the top