How to get the focus on the JME Window?

I've got myself into a tricky problem…



Everything was going fine, the game window had focus on starting and then I decided to improve things by adding a test before the game started (to ensure the persisted user graphics settings were okay) …now the test window works (after it closes the main game starts) but the main game window created does not have focus and appears behind other desktop windows / applications!  :x



Can anyone offer some useful advice on how to remedy this situation?

In case it may be of future use or interest to someone…



After performing further testing, I can now further elaborate on the problem: When the first window is created (either from createWindow () or game.start()) the focus is correctly grabbed, that window is closed programmatically and all subsequent created windows fail to grab the focus.



I