Re: glwindow on secondary monitor
Posted by Triipaxx on Dec 20, 2011; 10:58pm
URL: https://forum.jogamp.org/glwindow-on-secondary-monitor-tp3593579p3602550.html
I'm using windows 7 and 2 screens wich are not set up as big display.... so i should have 2 seperate screens.
but unfortunately, it's not working.
what is working, in certain sitution, is to set the position of the the glwindow to i.e. 1920 in x and 0 in y. than the window is shown on the secondary screen. but this "workarround" only works, if the screens are aligned 0, 1 (primary left, secondary right) if you switch the position of the screens in windows (secondary left, primary right) it is allways shown on the primary monitor. i figured out, that the screen coordinates are negative for the secondary screen. so setting the position will fail what causes the glwindow to be opend on the primary screen.
i will try to embedd a NEWTCanvasAWT inside a JFrame. hopefully this will work.... :(