The fix is quite easy. Install the wname package using pacman and set the window manager name to something java will recognize.
# pacman -S wmname
# wmname LG3D
This is not a permanent change, so it is a good idea to add it to your .xinitrc file in your home directory