I have a Java swing GUI that runs and displays fine using other window managers but when I run it in Xmonad it does not display correctly. All that displays is the frame of the window which is grayed out with no buttons, menus, etc. How can I make the Swing GUI display correctly?
For a 100% explicit answer, just paste this into ~/.xmonad/xmonad.hs
:
import XMonad
import XMonad.Hooks.SetWMName
main = xmonad defaultConfig
{ startupHook = setWMName "LG3D" }
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With