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
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
It's not a secret anymore!