Timothy Wall | 1 Nov 2010 12:19
Gravatar

Re: Click without mouse cursor move.

If the component is a native component, you cannot send events to it via AM_AWT mode.

On Oct 31, 2010, at 5:02 PM, Baris Gerze wrote:

> browser is embedded into my application :)
> 
> 
> 
> On Sun, Oct 31, 2010 at 11:01 PM, Baris Gerze <barisgerze <at> gmail.com> wrote:
> Web page is java component NativeJava client... Java beans style standard component..
> All I want is to click In embbedded java browser's coordinate..
> I am doing it with EM_ROBOT mode.. but not with AM_AWT mode.. that is the problem...
> with ROBOT mode mouse go and click... and my program runs.. but with AM_AWT mode
> mouse not going and not clicking...
> 
> Any idea?
> 
> 
> 
> 
> 
> On Sun, Oct 31, 2010 at 6:46 PM, Timothy Wall <twall <at> users.sf.net> wrote:
> use Robot.actionXXX(), which takes care of any delays or idles.
> 
> the AWT mode will only work on Java components, since it uses the Java event queue.  a web page is not going to
be connected to the Java event queue.
> 
> On Oct 31, 2010, at 9:52 AM, Baris Gerze wrote:
> 
> >
(Continue reading)


Gmane