Meaningless Drivel is fun!*
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 Android Security Essentials Live Lessons this week in the Android 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]
It is sorta covered in the JavaRanch Style Guide.
subject: Applet including another applet
Similar Threads
i want to display some stats using a pie chart in jsp/java please guide me
how to refresh a div tag in a Form not an entire page.
Creating Charts in Applets using Data from Database
HOW to draw an ARC on a Frame / Panel
how to refresh a div tag in a Form not an entire page.