I have laptop with external monitor connected, so actually I have two displays (with different resolutions, but I guess resolution does not matters).
When I launch Java app (Supermicro IPMIView in my case), it seems that the app tries to calculate dimensions and place itself to some central area of a screen. In fact I see app window splitted to 2 parts - one on the first monitor and one on the second. This problem appears with Java applications only.
Could I somehow force Java to place its window on certain monitor (or, let's say on any monitor, but on one monitor only at the same time)?
Application starts by execution of shell-script, which checks a lot off stuff in environment, and, on the end, evals the code ./jre/bin/java com.zerog.lax.LAX /path/to/IPMIView20.lax /tmp/env.properties.12345
I use Kubuntu 16.04.