Detect JTable repaint without subclassing JTable
I'm working on a plugin that adds drag and drop functionality to a JTable in the main program, so I need to work with the existing JTable object rather than creating a subclass. Everything's working fine so far except for my attempts to draw an arrow over the JTable that indicates the drag path. I can draw the arrow on mouse events, but there are other repaints that cause it to flicker and disappear.
Anyone know how I can detect repaints or another way to slip in my own painting code?

