java - Weird behavior of a MouseListener added to a JTable -


I have added a mouse listener to a jettilee so that some cursors can call when the mouse cursor leaves the range of the table. However, the mouse-oxide () method is also called when the mouse cursor leaves different cells in the table. Is this some strange jumble in my code or is there a bug in the swing?

Edit: I have not mentioned that my table is a sub class of JTable and not standard JTable

If you are not checking for event.getSource () == myTable


Comments