Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem with java and fullscreen exclusive mode
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
hrnick
Guru
Guru


Joined: 31 Aug 2002
Posts: 425
Location: Sweden

PostPosted: Tue Sep 20, 2011 1:05 pm    Post subject: Problem with java and fullscreen exclusive mode Reply with quote

I'm trying to implement a fullscreen function in a java program using exclusive mode. I've tried the example found at http://www.java2s.com/Code/Java/2D-Graphics-GUI/FullscreenDisplayModeTest.htm but have a problem with the mouse. If I move the cursor to the right after changing resolution (to a lower one) the cursor disappears outside of the screen. Moving the mouse to the left doesn't make it appear again. It seems as if only the top left corner of the screen is used for the window in some way. No MouseEvents are generated when moving the mouse once the cursor has disappeared.

I don't have this problem in Windows or OSX. I've also done some testing on a computer running CentOS (using Gnome 2.16.0 or KDE 3.5.4 on xorg-server 1.1.1) where everything works as expected.

I'm running FVWM (but I've tried running X without loading a window manager), java3d v1.5.2 and I've tried both sun-jdk-1.6.0.26 and icedtea-7.1.14 (found in the java overlay). I've also installed Xfce and Gnome to see if it would make a difference but it didn't.

Any ideas what could be wrong?
Back to top
View user's profile Send private message
hrnick
Guru
Guru


Joined: 31 Aug 2002
Posts: 425
Location: Sweden

PostPosted: Sun Sep 25, 2011 6:44 pm    Post subject: Reply with quote

It seems as if my dual screen causes the problem. Commenting one of the screens in xorg.conf solves the problem. It would be nice if it could work with both screens though, any ideas if it's possible?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum