For an example if you have a program with one JPanel that is changing to "Blue" when klicking at the "B" button & "Red" when klicking at the "R" button. If you have a JButton (Or any kind of button) at the side of it, when you press it, with an ActionListener, the KeyListener stoppes working.
The KeyListener is at the "Frame" object, wich is pretty much just a normal JFrame.
Thanks!
