setPreferredSize across 2 monitors
I have 2 monitors and I want a JFrame to be displayed across the 2 monitors.
when I force the frame to be set with the size it seems to have the dimensions I entered but does not span across the 2 monitors.
JFrame frametest =new JFrame();
frametest.setPreferredSize(new Dimension(2280,1520));// width and height.
does Java have a limitation of setting the size/preferredsize or am I going about this the wrong way?
thanks in advance for your help.

