my dog learned polymorphism*
The moose likes Applets and the fly likes Nesting applets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "Nesting applets" Watch "Nesting applets" New topic
Author

Nesting applets

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Is it possible to have an applet running inside another applet (panel)?
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9044
    
  10
As far as I know, you may not have one applet running inside another applet. You may put all the stuff in a panel and put the panel inside the applet though. What would be the advantage of putting one applet inside another?


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
Moving this to the Applets forum...


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
Since Applet extends Panel, I'd bet that one Applet could be added to another.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Nesting applets
 
Similar Threads
Java program protection.
Applet with a ServerSocket
WA #1.....word association
Clock
Clock