I made a SSCEE code wich explain my problem. There are two JPanels, when I press the arrow key "up" I want to do something in both of them, with the code below only one panel react to the arrow key! Do you know why? can you show me a code wich works?
Here is the code, just copy and paste and see it yourself.