aspose file tools*
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 Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "new process in internal frame" Watch "new process in internal frame" New topic
Author

new process in internal frame

NILESH PATEL
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
Nilesh
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
NILESH PATEL
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.
Thanks
Nilesh
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: new process in internal frame