Change the color of a Panel

Hi,

I want to change the background color of a Panel when the user put the mouse over it. I use the onStartOver event to call a function to change the color, but I can’t find in the documentation how to change the color of a Panel in java.

Thanks a lot

Do something like:

[java]element.getRenderer(PanelRenderer.class).setBackgroundColor(Color.BLACK);

Thanks a lot, that is what I was looking for.
But I have another question, does an event exist when the mouse quit the Panel ?

Nevermind I found it.