Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Not responding
Not responding [message #1777423] Wed, 29 November 2017 10:33
Ali Sedaghat is currently offline Ali SedaghatFriend
Messages: 22
Registered: April 2015
Junior Member
I've implemented a jface wizard in my swt application. In one page of this wizard a time-consuming operation is monitored by the wizard's progress monitor as follows:
getContainer().run(true, false, new IRunnableWithProgress() {

	public void run(IProgressMonitor monitor)
		throws InvocationTargetException, InterruptedException {
monitor.beginTask("", IProgressMonitor.UNKNOWN); 						
      getShell().getDisplay().asyncExec(new Runnable() {

	public void run() {
					//my operation			

The problem is that the application becomes not responding a little while after the operation starts. It seems that the fork parameter has no effect, becuase my operation is executed by the UI thread!!!

Previous Topic:Not responding
Next Topic:Insert a text box in between a composite from super class
Goto Forum:

Current Time: Mon Mar 19 01:25:59 GMT 2018

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

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