I have created a JFrame with a JSplitPane in it, which contains a canvas in the left and a JPanel in the right. The canvas contains LWJGL display, and the JPanel has few JTextFields in it. The problem is that when I press a mouse button on the LWJGL display, I can't write text into JTextFields anymore. When I minimize the application and return it back, it works until I press on the display again.
Why do i get this problem? How can i fix it?
Note: I can focus on the text fields, but i cant write anything. Maybe the LWJGL is somehow blocking Swings keyboard input?