This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Swing / AWT / SWT and the fly likes new process in internal frame Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "new process in internal frame" Watch "new process in internal frame" New topic

new process in internal frame

Ranch Hand

Joined: Nov 21, 2000
Posts: 71
Dear all,
Does anyone know if it is possible to start a process in a JFrame or JInternalFrame rhather that your desktop? Just wondering whether it would be possible to open internet explorer for example, in a JInternalFrame which is part of a parent frame. Much like windows file browser where you can select urls from the left pane and preview its html on the right pane. It would be useful..
Thanks in advance
Michael Morris
Ranch Hand

Joined: Jan 30, 2002
Posts: 3451
Are you trying to do something like this:

This assumes you are running windows and have Paintbrush (PBrush.exe) in your PATH. Of course you can change the String param of exec() to whatever you want.
Hope this helps

Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
Ranch Hand

Joined: Nov 21, 2000
Posts: 71
Thanks for your reply. Half way there. But I was thinking more of an external process displayed within the parent frame of the button, may be south of the button itself, like an integral part of the main frmae, may be using internal frame or something. It looks to me that this may not be possible. But we never know of the java's capability in handling processes.
I agree. Here's the link:
subject: new process in internal frame