I might understood wrong, but I think you want to use accept() not ignore().
ignore() will progate the event further, you want to stop the event, so I think accept() should be used.
I might understood wrong, but I think you want to use accept() not ignore().
ignore() will progate the event further, you want to stop the event, so I think accept() should be used.
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
Bookmarks