Not Our Bugs

From Musca

Jump to: navigation, search

Java Apps Showing Grey Windows

Java applications which use the XToolkit/XAWT backend may draw grey windows only. The XToolkit/XAWT backend breaks ICCCM-compliance in recent JDK 1.5 and early JDK 1.6 versions, because it assumes a reparenting window manager. As a workaround you can use JDK 1.4 (which doesn't contain the XToolkit/XAWT backend) or you can set the following environment variable (to use the older Motif backend instead): AWT_TOOLKIT=MToolkit.

Just thought I might add that another work around to the java issue is a nice little neat command I learnt about recently. Its called wmname. Example... if your using frostwire (wmname compiz && frostwire). Make an alias or keybinding for it replacing frostwire with whatever java application that you are using. No more blank grey screen.