I tried to use the Toolkit.getDefaultToolkit().getSystemEventQueue().postEvent(event) function to post a mouse event to the computer queue. This is so that another program can pick up the input from the mouse. However, the program I'm trying to run it on does not accept mouseMove as input and only mouseEvent queues. I tried setting Component source = null; however that gives an error. I am out of ideas and can't figure out how the mouseEvent works in this case. Any help would be greatly appreciated :)
P.S. I kept the mouseMove function just as a representation for the cursor movement for debugging purposes