Camera trouble on changing cursor

Hi,

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 :
[java]
<layer>
<interact onMouseOver=“click(false)”/>
<text font=“Interface/arial_16px.fnt” color="#000f"
text=“Effacer projet”>
<interact onClick=“reset()” onMouseOver=“click(true)”/>
</text>
</layer>
[/java]

Application:
[java]
private boolean isClickable = false;

public void clik(String b) {
if(b.equals(“true”)){
isClickable = true;
} else {
isClickable = false;
}
}

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

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]