You implemented the MouseListener interface, so is it working? I saw you just added lines like this one:
System.out.println("Mouse leaves");
to it methods. Are you getting the output when the mouse leaves the button? If not, then its beacuse you need to add the mouse listener to the button. I...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.