Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How can I bring a process to the foreground?

ShaylanMar 11 2013 — edited Mar 11 2013
I work in a manufacturing facility, and I'm working on developing a system to send process related notifications to assembly line workers. Events in an Oracle database trigger the display and use the UTL_TCP package to send a message containing a URL to the target PC. The PC has a small Java program listening for the message, which then opens the URL in Internet Explorer in kiosk mode using:
Runtime.getRuntime().exec("C:\\Program Files\\Internet Explorer\\iexplore.exe -k \"" + request + "\"");
where "request" is a variable that contains the URL.

The problem I'm having is that when other applications are running, the IE window often opens behind them. I need to be able to force it to be on top of all other windows. How can I do this? I'm also open to suggestions for other approaches that don't involve using IE.

Thanks,
Shaylan

Edited by: Shaylan on Mar 11, 2013 6:25 AM

Edited by: Shaylan on Mar 11, 2013 6:26 AM
This post has been answered by baftos on Mar 11 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 8 2013
Added on Mar 11 2013
5 comments
894 views