943,584 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Unsolved
  • Views: 1262
  • Java RSS
Jul 30th, 2009
0

get all open windows references

Expand Post »
hello all,

How to get all the opened windows reference in java.

Actually, my req is like.... user will set (fix) the cordinates of all the opened desktop windows (application). And he will use a timer to switching of all the open windows, so that at one particular time user's desktop will show say 3 opened windows and after time elapsed another set of opened windows will get displayed to the users desktop.

this is like creation of slides of opened windows (application).

Can we do in java?

Please help

Thanks,
Sunny
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
sunny.goyal is offline Offline
2 posts
since Jul 2009
Jul 30th, 2009
0

Re: get all open windows references

I doubt this is possible without the use of JNI, simply because I don't believe that Java has a method to encapsulate other application's windows as a Java Window object (could be wrong though).
Reputation Points: 69
Solved Threads: 48
Posting Whiz in Training
nmaillet is offline Offline
203 posts
since Aug 2008
Jul 30th, 2009
0

Re: get all open windows references

Maybe I'm not sure what you are saying.

But image that you created a bunch of private JFrames in Java. Would you expect other applications to be able to get the references to those JFrames?
Reputation Points: 874
Solved Threads: 352
Posting Maven
BestJewSinceJC is offline Offline
2,758 posts
since Sep 2008
Jul 31st, 2009
0

Re: get all open windows references

Click to Expand / Collapse  Quote originally posted by nmaillet ...
I doubt this is possible without the use of JNI, simply because I don't believe that Java has a method to encapsulate other application's windows as a Java Window object (could be wrong though).
----------------------------------------------

hi,
can u provide me some Windows API which can be used to solve this.

Thanks
Sunny
Reputation Points: 10
Solved Threads: 0
Newbie Poster
sunny.goyal is offline Offline
2 posts
since Jul 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Java Forum Timeline: Identifying words + removing punctutaion
Next Thread in Java Forum Timeline: Scanner and arraylist of objects





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC