get all open windows references

Reply

Join Date: Jul 2009
Posts: 2
Reputation: sunny.goyal is an unknown quantity at this point 
Solved Threads: 0
sunny.goyal sunny.goyal is offline Offline
Newbie Poster

get all open windows references

 
0
  #1
Jul 30th, 2009
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
Reply With Quote Quick reply to this message  
Join Date: Aug 2008
Posts: 83
Reputation: nmaillet is an unknown quantity at this point 
Solved Threads: 18
nmaillet nmaillet is offline Offline
Junior Poster in Training

Re: get all open windows references

 
0
  #2
Jul 30th, 2009
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).
Reply With Quote Quick reply to this message  
Join Date: Sep 2008
Posts: 1,568
Reputation: BestJewSinceJC is a name known to all BestJewSinceJC is a name known to all BestJewSinceJC is a name known to all BestJewSinceJC is a name known to all BestJewSinceJC is a name known to all BestJewSinceJC is a name known to all 
Solved Threads: 196
BestJewSinceJC BestJewSinceJC is offline Offline
Posting Virtuoso

Re: get all open windows references

 
0
  #3
Jul 30th, 2009
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?
Out.
Reply With Quote Quick reply to this message  
Join Date: Jul 2009
Posts: 2
Reputation: sunny.goyal is an unknown quantity at this point 
Solved Threads: 0
sunny.goyal sunny.goyal is offline Offline
Newbie Poster

Re: get all open windows references

 
0
  #4
Jul 31st, 2009
Originally Posted by nmaillet View Post
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
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC