Posted by
elect on
URL: https://forum.jogamp.org/Fullscreen-on-secondary-monitor-tp4032833p4033321.html
Sven Gothel wrote
we surely speak a different language, cannot grok your statement.
maybe you _read_ the demo then :)
:D I meant I never solved the problem I had while trying to run the jogl demos.. I refer for example to the library issue, where jogl is looking for dll in a very strange directory and is looking the IA architecture version..
Anyway, since I couldnt run them, I did read them, that's why I found the addReference() missing..
Yeah, a wiki would be very very useful.
Anyway, it seems it is working now
screen = NewtFactory.createScreen(display, 0);
screen.addReference();
glWindow = GLWindow.create(screen, gLCapabilities);
List<MonitorDevice> monitorDevices = new ArrayList<>();
monitorDevices.add(screen.getMonitorDevices().get(i));
glWindow.setFullscreen(monitorDevices);
I can have the fullscreen on the i-th monitor I want :)
Just few considerations:
- the keyListener doesnt work anymore now at fullscreen, but I will investigate something more on this, maybe it is my fault
- addReference() takes a lot of time, more than 10s, is it normal?
- I always found the jogl forum crap. Dont get me wrong, I am not blaming you guys for the work you do for free and all the effort you put in it. I thank you all for everything you did up today. I want you to not get this like a critic, but rather as an improvement/suggest.
I just think a modern forum would: increase the success of jogl platform, make it appear more modern and updated with our current times. I attend different forums, many of them as a lot of useful features, for example a much better support for the quote, multiquote, thanks to the author of a post, link for going to the first unread message, a much nicer good looking, (better) supports for code, quote, links, images, videos, etc etc.
This is one I think is one of the best out there (
http://www.invisionpower.com/apps/board/), but it is just an example.
I say this because I use and love jogl, so helping make it better is all in my interest :)