If you are getting a blank (grey) window with some java applications under Beryl that once you change Metacity works fine, just add the following line to your .bashrc and it should start working.
export AWT_TOOLKIT=MToolkit

Default image
If you are getting a blank (grey) window with some java applications under Beryl that once you change Metacity works fine, just add the following line to your .bashrc and it should start working.
export AWT_TOOLKIT=MToolkit