I want to solve a problem that I have a keylistener in a window.
I have a Main window in which I can perfectly use the KeyListeners, but when I open another JFrame th