I have a JFrame with an associated JPanel which fill the screen, both having setFocusable(false)
and in Front another JFrame with a Jpanel with a fixed size and centered (both are unmoveable). In this 'front' Panel theres a game, but when i click on the background Frame the front Panel moves to the background i only see the (dark grey) background Panel.
This is very annoying as you can imagine and i guess there must be a simple solution (i thought the setFocusable(false) would do the trick) but i simply cannot find it