Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Java in General and the fly likes Windows operations 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 » Java in General
Bookmark "Windows operations" Watch "Windows operations" New topic
Author

Windows operations

Ashish Malik
Ranch Hand

Joined: Jul 11, 2010
Posts: 50
I want my Java program to know when a particular program has its window maximized or minimized or may be is running in exclusive full screen mode(most importantly when not). How to go about it?
If its not possible than only if i know that if any program is running in full screen exclusive mode or not!
Stephan van Hulst
Bartender

Joined: Sep 20, 2010
Posts: 3605
    
  14

Take a look at Frame.getExtendedState() and GraphicsDevice.getFullScreenWindow().
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Windows operations
 
Similar Threads
Running external apps in a JFrame?
making java program user friendly
screen/computer lockout
Full screen mode robot keypresses simulation
Grant AWTPermissions