So when maintaining a large Java Swing application I have an issue: the arrow keys in the filename textfield of a sub-class derived from JFileChooser don't work.
If I just put this class into a tiny stand-alone Swing app with just a JFrame, the arrow keys (specifically left and right) will move around the cursor in the filename field just fine, but it won't work in the original application. I have checked all KeyListeners of all its containers, but couldn't find anything that captures the event. So the question is: is there any way to stop the IDE in debug mode (or any method to debug the issue without an IDE) upon a certain or all KeyPress event(s)?