Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » About the thread of swt !
About the thread of swt ! [message #446884] Sun, 05 December 2004 04:50
bbskill is currently offline bbskillFriend
Messages: 26
Registered: July 2009
Junior Member
we know wo can use
display.syncExec(new Runnable(){
public void run() {}
to access the widgets in non-UI Thread.
But if this non-UI Thread is executed frequently,it is necessary
to change the code to:
class runnable implements Runnable {
public void run() {}
I think this can reduce the expense in creating and destorying the
Runnable().But it will cause the runnable() exist for long.
Thanks for your opinions?
Previous Topic:TableViewer
Next Topic:Fill ToolItems in Vertical ToolBar to Fit Width (Windows only)
Goto Forum:

Current Time: Wed May 19 03:34:18 GMT 2021

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

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

Back to the top