However, when I click anywhere on the JList, nothing gets printed to the console, which suggests that the mousePressed() method isn't being invoked. I think it's a problem with the CellRenderer, because I have similar code elsewhere that works, the only difference being I don't use a custom CellRenderer. Could anyone shed some light on the issue?
I don't see anything either, but I have used a JList with a custom cell renderer and I've also used drag-and-drop on that JList with no problems. However I used the built-in drag-and-drop features rather than trying to write my own D-n-D, so I didn't write any mouse listeners.
Your class name suggests you're trying to do D-n-D on that JList -- is that right? If so, have you rejected the built-in D-n-D or did you not know it existed?
money grubbing section goes here:
the new thread boost feature brings a LOT of attention to your favorite threads