• Post Reply Bookmark Topic Watch Topic
  • New Topic

Multiple Screens and Terminal Server Problem

 
Michail Strelzow
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I need some enlightenment.

I'm having troubles running java awt/swing applications in Terminal Server when more than one screen is involved.
Usually java has a GraphicsDevice for every physical screen and one additional GraphicsDevice where all screens are combined.
So it's not a big deal, the application is running on GraphicsDevice[0] and all window sizes and dialog locations are calculated correctly.
The terminal server however offers only one GraphicsDevice where all screens are combined. So for java it looks like I'm working with one giant screen.
Therefore every dialog is placed in the center of the virtualized screen, which is right between my two physical screens, or on the middle screen when working with three screens.

Is there a way I can restrict the available resolution for my java application?

Another solution would be to handle the size and location locally for every Frame and Dialog, but thats not really a handy option.

Greetings,
Adrastos
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!