File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Applets and the fly likes Applet including another applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Meteor in Action this week in the JavaScript forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Applet including another applet" Watch "Applet including another applet" New topic

Applet including another applet

Patricia Fulk
Ranch Hand

Joined: Sep 10, 2001
Posts: 62
I am trying to include an applet in the another applet. I have a pie chart that is an applet and I need to display it in the main applet. The pie chart will not be displayed all the time because I am using the cardlayout. Also, the pie chart applet contains parameters. I have looked at the examples that have applets talking to one another, but they are pretty much separate applets. Can someone help me out?
Dirk Schreckmann

Joined: Dec 10, 2001
Posts: 7023
Well, this works:

Good Luck.

[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
I agree. Here's the link:
subject: Applet including another applet