Skip to main content



      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 03:04 Go to next message
Eclipse UserFriend
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 03:07 Go to previous message
Eclipse UserFriend
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: Sun Aug 31 15:32:16 EDT 2025

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

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

Back to the top