I'm a newbie to LWJGL and my application runs Runtime.exec(). The process I run gains focus but I never get it back even though my application is running.
Is there anything I can do? I am willing to run another application that grabs/manipulaties/restores focus to other applications.
>my application runs Runtime.exec()
Why?
Why? Why not. :D
I am writing a game front-end to other application(s). Yes I am aware of others, but I'm adding my personal touch using OGL, but as usual, there are obvious problems with not so obvious solutions.
Just to update anyone who cares. I wrote a Windows specific .DLL and a JNI wrapper to grab the focus after returning from exec(). It works great!
Now I seem to be having another problem that appears to be LWJGL specific... but that's for a new topic.
one does wonder if lwjgl should have a grab focus functionality - since there may be a pleathora of reasons for having that...
+1
Ok then, let's add it.
Cas :)
I agree. :D