I need an event to fire when the mouse enters a certain area. There will be two of these areas on each side of an image that will be changing every couple of seconds (so both hover regions will be changing with it). (They will make a button appear to advance or go back an image.)
I’m sure there are a few ways to do it, but what is the best way to get this to happen?
I could try a mouse listener for the whole thing and test if it’s within the coordinates but that seems gross…
Danke