如何解决Java的GUI程序(摆动),它的工作原理与真棒-WM?
-
05-09-2019 - |
解决方案
从真棒手册页:
BUGS
Of course there´s no bug in awesome. But there may be unexpected behaviours.
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
其他提示
您的可能的发现,这是一个类似的问题,与使用的Compiz和Java(在Ubuntu至少)有经验,但我猜测。
这种情况的修复(从这里采取)是添加以下环境可变给程序:
AWT_TOOLKIT="MToolkit"
不隶属于 StackOverflow