Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » Not responding
Not responding [message #1777424] Wed, 29 November 2017 10:34
Ali Sedaghat is currently offline Ali SedaghatFriend
Messages: 17
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:Virtual TreeViewer setSelection problem
Next Topic:jface wizard becomes not responding
Goto Forum:

Current Time: Mon Aug 03 17:55:50 GMT 2020

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

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

Back to the top