Camera trouble on changing cursor


I have try to change the mouse cursor on some nifty element and it’s work except that the camera don’t move any more.

Here is some simple of the code :

Nifty :
<interact onMouseOver=“click(false)”/>
<text font=“Interface/arial_16px.fnt” color="#000f"
text=“Effacer projet”>
<interact onClick=“reset()” onMouseOver=“click(true)”/>

private boolean isClickable = false;

public void clik(String b) {
isClickable = true;
} else {
isClickable = false;

public void simpleUpdate(float tpf) {
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
JmeCanvasContext ctx = (JmeCanvasContext) getContext();
ctx.getCanvas().setCursor(new Cursor(Cursor.HAND_CURSOR));

in case it help the camera is a chase cam and this application is an applet.

I find a solution :

remove line 2 from nifty and add this line between 17 and 18 of Application :

[java]isClickable = false;[/java]