Archive => Resolved Bugs/RFE => Topic started by: enavarrocu on May 25, 2011, 13:21:53

Title: [CLOSED] Two Canvas in a swing application
Post by: enavarrocu on May 25, 2011, 13:21:53
I having the following exception when I try to have two Canvas in the same application. The first Canvas work fine, but when add the second I get that.

SEVERE: Uncaught exception thrown in Thread[LWJGL Renderer Thread,6,main]
at org.lwjgl.opengl.MacOSXContextImplementation.setSwapInterval(MacOSXContextImplementation.java:121)
at org.lwjgl.opengl.Context.setSwapInterval(Context.java:231)
at org.lwjgl.opengl.Display.setSwapInterval(Display.java:993)
at org.lwjgl.opengl.Display.setVSyncEnabled(Display.java:1005)
at com.jme3.system.lwjgl.LwjglCanvas.createContext(LwjglCanvas.java:346)
at com.jme3.system.lwjgl.LwjglCanvas.restoreCanvas(LwjglCanvas.java:231)
at com.jme3.system.lwjgl.LwjglCanvas.runLoop(LwjglCanvas.java:188)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:217)
at java.lang.Thread.run(Thread.java:680)

Mac Os X 10.6.7

Other Data:
Model Name: MacBook Pro
Model Identifier: MacBookPro6,2
Processor Name: Intel Core i5
Processor Speed: 2,4 GHz

Title: Re: [BUG] Two Canvas in a swing application
Post by: Momoko_Fan on May 26, 2011, 03:46:21
There's no need to post across multiple forums .. We already answered this question on jME
It is not possible to have multiple canvases in jME