Ask Experts Questions for FREE Help!
  Advanced
Register  |  Log in  
   Ask    
 Answer  
  Help  

Ask QuestionsprogressAnswer QuestionsprogressBuild ReputationprogressBecome an Expert
 
Free Answers in 3 Easy Steps

Register Now
3 Steps

At Ask Me Help Desk you can ask questions in any topic and have them answered for free by our experts. To ask questions or participate in answering them you must register for a free account. By registering you will be able to:
  • Get free answers from experts in any of our 300+ topics.
  • Accept money for answers that you provide.
  • Communicate privately with other members (PM).
  • See fewer ads.

Home > Computers & Technology > Programming > Compiled Languages > Java   »   Java/Windows Programming

 
Question Tools Search this Question Display Modes
Question
 
 
#1  
Old Apr 3, 2005, 06:21 PM
dagma20
New Member
dagma20 is offline
 
Join Date: Apr 2005
Posts: 1
dagma20 See this member's comment history on his/her Profile page.
Java/Windows Programming

Hi im trying to see whether it is possible to interact with windows through java. I have a RMI program that is installed on several computers in a network. I want to see when a user is in the idle stage i.e. no key pressing & no mosue moving etc.. If the program is running, i think the program can only test if there is no KeyPressing for that program so if another windows application, like word is open it won't detect a idle status. Im not sure if that makes sense, but basically im trying to imitate windows version of the idle process, and im not sure if it is possible to 'talk' to windows to see if the user is idle.

Therefore i think i would do it as,

JFrame program waiting for keypresses if none are detected after x amount of time then an 'admin' program version is alerted.

But would this cause problems?

The problem i think that would occur is that the key presses would always not be detected as the program is not the actual listener anymore and the user could still actually be using the computer but not in the eyes of the java program so any ideas how to talk to windows to detect an idle status?

Reply With Quote
 
     



Question Tools Search this Question
Search this Question:

Advanced Search
Display Modes

 
Similar Sponsors

Similar Questions
Question Asker Topic Answers Last Post
java programming kishorekumar Java 1 Sep 14, 2006 12:10 AM
java programming Suttaa Java 1 Dec 11, 2003 05:03 AM
Windows Programming RaxitSheth Windows 0 Aug 4, 2003 12:15 PM
Windows Programming RaxitSheth Windows 0 Aug 4, 2003 12:14 PM
java programming Suttaa Java 1 Mar 22, 2003 08:18 PM




Copyright ©2003 - 2007, Ask Me Help Desk.
All times are GMT -8. The time now is 02:40 PM.

Content Relevant URLs by vBSEO 3.0.0 RC6 © 2006, Crawlability, Inc.