Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1016
  • Last Modified:

How can I run an application inside a JPanel?

I want to embed in my java swing application other applications(I want them run inside a jpanel). How can I do that?
0
ionutcib
Asked:
ionutcib
  • 2
1 Solution
 
CEHJCommented:
What kind of application(s)?
0
 
HonorGodCommented:
It sounds like you want to execute some external application (e.g., non Java), and have the output displayed in you panel.  Is that right?

You would have to something like this:

  http://www.rgagnon.com/javadetails/java-0014.html

but capture the stdout, and have the results displayed in your panel.

If you also need to allow user input, that would be done in a similar fashion using stdin.

0
 
HonorGodCommented:
Thanks for the grade & points.

Good luck & have a great day.
0

Featured Post

Eye-catchers on the conference table

Challenge: The i-unit group was not satisfied with the audio quality during remote meetings. They were looking for a portable solution with excellent audio quality for use in their conference room but also at their client’s offices.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now