Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Applet including another applet" Watch "Applet including another applet" New topic
Author

Applet including another applet

Patricia Fulk
Ranch Hand

Joined: Sep 10, 2001
Posts: 62
Hello,
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?
Thanks,
Trish
Dirk Schreckmann
Sheriff

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: http://aspose.com/file-tools
 
subject: Applet including another applet
 
It's not a secret anymore!