File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Determining monitor window is on Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Determining monitor window is on" Watch "Determining monitor window is on" New topic
Author

Determining monitor window is on

Dan Greer
Greenhorn

Joined: Jan 08, 2010
Posts: 11
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

Joined: Oct 27, 2005
Posts: 19655
    
  18

Check out java.awt.GraphicsEnvironment, then java.awt.GraphicsDevice.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Determining monitor window is on
 
Similar Threads
nullPointerException found regarding Window
get the size of the full screen in current settings(urgent)
full size of the screen(urgent)
How to read the Monitor Resolution?
Application with a full-screen effect.