LWJGL
June 17, 2013, 23:32:11 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: LWJGL is now using GitHub
 
   Home   Help Search Login Register  



Pages: [1]
  Print  
Author Topic: [CLOSED] Two Canvas in a swing application  (Read 1328 times)
enavarrocu
Newbie
*
Posts: 1


« on: May 25, 2011, 06: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]
java.lang.NullPointerException
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)

OS:
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

Logged
Momoko_Fan
Newbie
*
Posts: 34

jME3 lead developer


« Reply #1 on: May 25, 2011, 20: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
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
SMFAds for Free Forums
Valid XHTML 1.0! Valid CSS!