By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,557 Members | 1,164 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,557 IT Pros & Developers. It's quick & easy.

generating a mouse event by a java program

P: n/a
hi pals,

I like to know ,how to generate a mouse event through the java program
..
the user should not need to trigger the mouse event.the program should
control the mouse to generate a mouse event.

plz give me a solution........
Jul 17 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
ga**********@yahoo.co.in (Ganesh) wrote in
news:54**************************@posting.google.c om:
hi pals,

I like to know ,how to generate a mouse event through the java program
.
the user should not need to trigger the mouse event.the program should
control the mouse to generate a mouse event.

plz give me a solution........


See java.awt.Robot
--
Ian Shef
These are my personal opinions and not those of my employer.
Jul 17 '05 #2

P: n/a
To receive mouse actions, you should probably first implement the
MouseListener and MouseMotionListener interfaces, and have all of the
required methods. If you want to get specifics, then go to the following
site:

http://java.sun.com/j2se/1.4.2/docs/api/index.html

This is probably the single most useful Java library glossary on the web.
Jul 17 '05 #3

P: n/a
On Fri, 13 Aug 2004 15:29:26 -0400, Hari wrote:
http://java.sun.com/j2se/1.4.2/docs/api/index.html


Of for the 'low bandwidth' entry point you might try ..
<http://java.sun.com/j2se/1.4.2/docs/api/overview-summary.html>

HTH

BTW ..To the poster, please do not cross-post
<http://www.physci.org/codes/javafaq.jsp#xpost>
comp.lang.java in an invalid group, F'Ups set to c.l.j.gui.

--
Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology
Jul 17 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.