Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] Multiple Display Issue in Linux

Hello All,


I recently upgraded to SWT 3.1 and it no longer supports multiple displays in Linux.  My program creates a splash screen with a progress bar that updates as the main application launches.  To fix the multiple display issue I pass the main UI display to the splash screen class to use.  The issue arises in that I must create a separate thread to run the splash screen while the main app loads.  SWT/UI calls can not be made in any thread except the main UI thread which is running.  This is an easy fix using the call ‘display.asyncExec()’, however this seems to queue its newly created thread and only runs it after the main app is finished loading.  I have been mucking around with this and scanning the internet for a few days with no luck.  Has anyone experienced any similar issues?  Thanks 

-Cole

 

 

Cole Harris
Enterasys Networks
Phone: 978-684-1652

Email:
coharris@xxxxxxxxxxxxx
www.  http://www.enterasys.com

 


Back to the top