`setInterceptsMouseClicks` should be called `setInterceptsMouseEvents`

Currently if you set a component to setInterceptsMouseClicks (false, false) it won’t intercept mouse clicks.
but… also mouseEnter mouseExit won’t be called (no clicks involved :slight_smile: )

6 Likes

Yes! And how to have the component not intercept clicks but keep listening for the mouseEnter & mouseExit?

ie. thought this could work:

        setInterceptsMouseClicks(false, false); // block clicks
        addMouseListener(this, true); // then re-enable mouseEnter?