I\'m trying to simulate mouse click at window with JNA.
public class App { public static final int WM_LBUTTONUP = 514; public static final int WM_LBUTTONDOW
Just a wild guess: The click events should not be delivered to the main window but to the destination button objects themselves. On the given coordinates the button lay above the main window "hiding" it when a real click happens.