Thread LWJGL

Hello, i have a problem when i want run 2 simpleApplication i have a exception :





oct. 24, 2011 2:15:27 PM com.jme3.app.Application handleError

Grave: Uncaught exception thrown in Thread[LWJGL Renderer Thread,5,main]

java.lang.IllegalStateException: From thread Thread[LWJGL Renderer Thread,5,main]: Thread[LWJGL Renderer Thread,5,main] already has the context current

at org.lwjgl.opengl.Context.checkAccess(Context.java:183)

at org.lwjgl.opengl.Context.forceDestroy(Context.java:240)

at org.lwjgl.opengl.AbstractDrawable.destroy(AbstractDrawable.java:64)

at org.lwjgl.opengl.Display$3.destroy(Display.java:145)

at org.lwjgl.opengl.Display.destroy(Display.java:960)

at com.jme3.system.lwjgl.LwjglAbstractDisplay.initInThread(LwjglAbstractDisplay.java:132)

at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:206)

at java.lang.Thread.run(Thread.java:722)







Help :confused:

You cannot start two window/fullscreen contexts from one application. You have to use the new AwtPanels. See the corresponding test.

but the new sdk does not work at home