Return-Path: <keyuan82@hotmail.com>
Received: from fort-point-station.mit.edu by po11.mit.edu (8.9.2/4.7) id OAA15723; Wed, 9 Jan 2002 14:24:50 -0500 (EST)
Received: from hotmail.com (law2-f109.hotmail.com [216.32.181.109])
	by fort-point-station.mit.edu (8.9.2/8.9.2) with ESMTP id OAA10555
	for <sipb@mit.edu>; Wed, 9 Jan 2002 14:24:38 -0500 (EST)
Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC;
	 Wed, 9 Jan 2002 11:24:37 -0800
Received: from 18.85.28.214 by lw2fd.hotmail.msn.com with HTTP;
	Wed, 09 Jan 2002 19:24:37 GMT
X-Originating-IP: [18.85.28.214]
From: "Keyuan Xu" <keyuan82@hotmail.com>
To: sipb@mit.edu
Subject: java question
Date: Wed, 09 Jan 2002 14:24:37 -0500
Mime-Version: 1.0
Content-Type: text/html
Message-ID: <LAW2-F109VmnK28KAVu0001c44b@hotmail.com>
X-OriginalArrivalTime: 09 Jan 2002 19:24:37.0797 (UTC) FILETIME=[471C2550:01C19943]

<html><div style='background-color:'><DIV></DIV>
<DIV></DIV>
<P>Hi,</P>
<P>I am writing a java program, and I was wondering if you guys can help me with a problem I am having.&nbsp; I am writing a program that needs to detect keystrokes and mouseclicks.&nbsp; Right now I am using KeyListener and MouseListener to keep track of all keystrokes and mouseclicks, but that only handles keystrokes and mouseclicks in the window of my application.&nbsp; How can I detect global keystrokes and mouseclicks?&nbsp; I want to be able to open another application (say Notepad) and have my application detect all the keystrokes occuring within that program.</P>
<P>Thank you very much for your help.<BR><BR>--------------------------- </P>
<DIV></DIV>Keyuan Xu 
<DIV></DIV>
<DIV></DIV>(508) 335-8197 
<DIV></DIV>kashew@mit.edu 
<DIV></DIV>keyuan82@hotmail.com 
<DIV></DIV>
<DIV></DIV>Phi Delta Theta 
<DIV></DIV>Co-Community Service Chair 
<DIV></DIV>
<DIV></DIV>MIT class of 2004 
<DIV></DIV></div><br clear=all><hr>MSN Photos is the easiest way to share and print your photos: <a href='http://go.msn.com/bql/hmtag3_etl_EN.asp'>Click Here</a><br></html>
