LWJGL
May 19, 2013, 06:28:32
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
LWJGL 2.9.0 released!
Home
Help
Search
Login
Register
LWJGL
>
Archive
>
Resolved Bugs/RFE
>
[CLOSED] Two Canvas in a swing application
Pages: [
1
]
« previous
next »
Print
Author
Topic: [CLOSED] Two Canvas in a swing application (Read 1265 times)
enavarrocu
Newbie
Posts: 1
[CLOSED] Two Canvas in a swing application
«
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
Re: [BUG] Two Canvas in a swing application
«
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
http://www.jmonkeyengine.com/
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Programming
-----------------------------
=> Lightweight Java Library Game Development
=> LWJGL Documentation
=> Bug Reports / RFE
=> OpenGL
=> OpenAL
=> General Java Game Development
-----------------------------
Archive
-----------------------------
=> Resolved Bugs/RFE
=> DirectX
=> DevIL
=> FMOD
Loading...