Forums Register Login

new process in internal frame

+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
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
You've gotta fight it! Don't give in! Read this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1347 times.
Similar Threads
Making JDialog visible
pane concept
Keeping JInternal Frame within desktop
JSplitPanes not resizing when JFrame maximized
Display text in a JDesktop pane
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 03:36:33.