Search code examples
javalimitmousemotionlistener

I reached mouseEntered limit


I think I reached mouseEntered limit, so... can I somehow add two mouseEntered in one class ? Or is there other way ? I'am not going to post code, it's longer than 65535 bytes limit


Solution

  • The Java class file format has a limit for the size of a single method. Split your mouseEntered method into smaller methods.