Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Text widget which could display large text document
Text widget which could display large text document [message #465980] Tue, 27 December 2005 22:04 Go to next message
Eclipse User
Originally posted by: winters.mi.gmail.com

Hi All

Now I am trying to implement an RCP application to handle text document.
But when displaying large text document like 2M, the GUI would hang
and freeze.

Would you guys please give me some suggestion about such text widgets
which could display large text document?

Thank you very much in advance!

Regards,
Jia Mi
Re: Text widget which could display large text document [message #466009 is a reply to message #465980] Wed, 28 December 2005 14:10 Go to previous message
Daniel Spiewak is currently offline Daniel Spiewak
Messages: 263
Registered: July 2009
Senior Member
Just a guess, but it sounds like you're trying to open the document in the event dispatch thread. Open the document in a new thread and update the UI using Display#syncExec(Runnable) You shouldn't have any problems then.
Previous Topic:MS Office 2003 task pane
Next Topic:SWT and Antialiasing
Goto Forum:
  


Current Time: Thu Jul 24 16:18:52 EDT 2014

Powered by FUDForum. Page generated in 0.02718 seconds