Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

How can I run an application inside a JPanel?

Posted on 2011-09-06
3
887 Views
Last Modified: 2013-11-19
I want to embed in my java swing application other applications(I want them run inside a jpanel). How can I do that?
0
Comment
Question by:ionutcib
  • 2
3 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 36488175
What kind of application(s)?
0
 
LVL 41

Accepted Solution

by:
HonorGod earned 500 total points
ID: 36488322
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
 
LVL 41

Expert Comment

by:HonorGod
ID: 36598574
Thanks for the grade & points.

Good luck & have a great day.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
how to add new optional parameter to JSP 1 49
servlet example issue 6 46
Way to decrease size of apk file 9 86
Glassfish admin console not working 1 32
Read about the 3 stages of the buyer's journey: awareness, consideration, and decision.
Marketing can be an uncomfortable undertaking, especially if your material is technology based. Luckily, we’ve compiled some simple and (relatively) painless tips to put an end to your trepidation and start your path to success.
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
This video teaches viewers about errors in exception handling.

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question