Compiz-fusion and Java desktop apps

I’m using Ubuntu 7.10 desktop edition with compiz-fusion and modal/emergent java windows are not displayed ( only grey background ) to solve this, I added the following environment var on the bashrc / bash_profile of the computer users that must deal with java display applications

export AWT_TOOLKIT=MToolkit

This solves the visualization of java desktop apps with compiz-fusion.