I'm very new to programming and to learn something I made a simple auto clicker. My problem is that when I export it to jar using Eclipse or the command prompt the simulation of clicks doesn't work. It does load the GUI but when I press the button for it to start it doesn't start clicking at all. If you have any idea of how I might fix this, I would be very thankful for any help I can get.
Edit: Tried some things which was mentioned in the duplicate but it still doesn't work :/