This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread 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 Murach's Java Servlets and JSP this week in the Servlets 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
Similar Threads
JSplitPanes not resizing when JFrame maximized
Keeping JInternal Frame within desktop
Display text in a JDesktop pane
pane concept
Making JDialog visible