Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » not responding wizard
not responding wizard [message #1777420] Wed, 29 November 2017 10:29
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:Linux Preview is Blank
Next Topic:When will i get "SWT_Window1" or "SWT_Window2" as class name for objects ?
Goto Forum:

Current Time: Mon Apr 12 23:40:42 GMT 2021

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

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

Back to the top