Make java swing application work with xmonad