Hi, I was wondering if anyone had any pointers for achieving a component that acts as a DragAndDropTarget and a FileDragAndDropTarget but passes all other mouse events through to components beneath.
I have a few classes (various waveform displays etc.) that used the same repeated code to accept dropped audio files. It seemed more elegant to break this code out into its own class, the idea being that I could attach it to a component (using ComponentListener) and it would hover over the target allowing it to behave as normal but catching drops, indicating graphically if it is interested in them.
I thought I could do this with setsInterceptsMouseClicks (false, false) but now realise that the mouse events are used to determine whether the fileDragEnter etc. methods are called. Is this behaviour possible in some way?