Solved

How can I run an application inside a JPanel?

Posted on 2011-09-06
3
875 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Read about the 3 stages of the buyer's journey: awareness, consideration, and decision.
Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

816 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now