ProcessBuilder and focus

I'm using ProcessBuilder to call an application.  My app loses focus and the called application gets focus.   How can I keep focus on my app?
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

sailingbyeConnect With a Mentor Commented:
I suspect that this problem is dependent upon the application that you are launching using the ProcessBuilder. If the application has a graphical user-interface and it requests focus from the operating system's window manager then you cannot grab focus back.
Perhaps there a way of starting the 'called' application without launching its GUI? It might have some start-up options, switches or a configuration file, for example.

Hope this helps.
HLRosenbergerAuthor Commented:
You are probably correct. However, I want the GUI part.  
All Courses

From novice to tech pro — start learning today.