Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Determining monitor window is on

 
Dan Greer
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, I have implemented a full screen mode for my application. However, many of the users have dual monitors and don't necessarily want the window be be full screen on their default monitor. Is there any easy way to determine which monitor a window is open on so that it can go into full screen on that specific device? I have searched and found similar solutions but they all seem very complicated for what I am trying to accomplish.

Thank you
 
Rob Spoor
Sheriff
Pie
Posts: 20532
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out java.awt.GraphicsEnvironment, then java.awt.GraphicsDevice.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic