\" \" wrote: > > Is there a easy way to fake a mouse click on a component?
If you have access to the ActionListener of the component, you can call the actionPerformed() method of the listener, passing the appropriate event. If you only have access to the component, for example a JButton, you can call the fireActionPerformed() method passing an event. Some components may also have a method you can call. JButton has doClick() method that you can call. All of these methods and more can be found in the Javadocs http://java.sun.com/j2se/1.2/docs/api/ http://java.sun.com/j2se/1.3/docs/api/ http://java.sun.com/j2se/1.4/docs/api/ To change your membership options, refer to: http://www.sys-con.com/java/list.cfm
