JME and Swing Input Problem

I have a JFrame, with a jME canvas in the center, and some JButtons.

As long swing components are focused, swing Inputs are valid. When i focus the jME canvas, jME Inputs are valid.

Now it would be nice, if the canvas could use an MouseMotionListener, to find out, if the mouse is over the canvas or not, and if the mouse is over the canvas, automaticly focus the jME canvas.



Problem is, the canvas does not like MouseMotionListener, I get an error with the Lwjgl libary

If the canvas can somehow accept swing Inputs, please tell me! Thx