If it is a type of JButton, doClick() works....

Scott Atha wrote:

> Check out the robot class.
>
>  
>
> http://java.sun.com/j2se/1.3/docs/api/java/awt/Robot.html
>
>  
>
> It was introduced in J2SE 1.3.0 or 1.3.1.
>
>  
>
> I attached a simple class I created for another purpose, and added 
> some robot code to experiment when 1.3 came out.
>
>  
>
> Scott
>
>     -----Original Message-----
>     From: " " [mailto:[EMAIL PROTECTED]]
>     Sent: Wednesday, July 24, 2002 9:10 AM
>     To: JDJList
>     Subject: [jdjlist] How to fake a mouse click on a component
>
>     Hi All:
>
>     Is there a easy way to fake a mouse click on a component?
>
>     Thanks.
>
>
>     ------------------------------------------------------------------------
>     Do You Yahoo!?
>     Yahoo! Health <http://health.yahoo.com/> - Feel better, live
>     better To change your membership options, refer to:
>     http://www.sys-con.com/java/list.cfm
>
>
>------------------------------------------------------------------------
>
>To change your membership options, refer to:
>http://www.sys-con.com/java/list.cfm
>



To change your membership options, refer to:
http://www.sys-con.com/java/list.cfm

Reply via email to