I’m trying to run the widget demos in jmetest.widget, and all of them are giving me this error:
java.lang.IllegalStateException: X, Y deltas are only available when the mouse is grabbed. Use getEventX()/getEventY() instead.
at org.lwjgl.input.Mouse.getDX(Mouse.java:519)
at com.jme.input.lwjgl.LWJGLMouseInput.poll(Unknown Source)
at com.jme.input.lwjgl.LWJGLMouseInput.updateState(Unknown Source)
at com.jme.input.RelativeMouse.update(Unknown Source)
at com.jme.input.AbstractInputHandler.update(Unknown Source)
at com.jme.input.AbstractInputHandler.update(Unknown Source)
at com.jme.widget.WidgetAbstractFrame.handleInput(Unknown Source)
at com.jme.widget.WidgetAbstractFrame.handleInput(Unknown Source)
at jmetest.widget.TestWidgetApp1.update(Unknown Source)
at com.jme.app.BaseGame.start(Unknown Source)
at jmetest.widget.TestWidgetApp1.main(Unknown Source)
Dec 17, 2004 4:57:09 PM com.jme.app.BaseGame start
INFO: Application ending.
I'm using what seems to be the latest mac version of lwjgl from here: http://odense.kollegienet.dk/~naur/lwjgl.jar. I'm not sure if this is a jME problem or lwjgl problem, but if it's not jME and is specifically an lwjgl problem, then could someone at least tell me what to ask about on the lwjgl forums?
Thanks for any help. (BTW, I'm using a CVS build from about 3 weeks ago or so).