[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Mac OS X 10.5 (Leopard), OpenGL and StartOnFirstThread

Hi,

after installing Mac OS X 10.5 (Leopard), I cannot start an OpneGL based plugin anymore. This is the error message:

Unhandled event loop exception
Can't start the AWT because Java was started on the first thread. Make sure StartOnFirstThread is not specified in your application's Info.plist or on the command line


The funny things:

- StartOnFirstThread is already removed from the eclipse.ini file
- The very same plugin is running when launched as a runtime instance
- There is actually no AWT code involved! Here's a snippet from the ViewerPart where the error occurs:


@Override
public void createPartControl(Composite parent) {
GLData data = new GLData();
org.eclipse.swt.opengl.GLData data.doubleBuffer = true;
org.eclipse.swt.opengl.GLCanvas canvas = new GLCanvas(parent, SWT.NONE, data);
...
}


The very same code was running without problems with Tiger...
(latest Eclipse Version 3.3.1.1)

Since the code _is_ running when startet in the debugger or as a runtime instance, I think there should be some workaround? Does anyone had the same problem?

Jens