• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

setStub()

 
Bob Moranski
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, what does Applet.setStub() do? What is an AppletStub?
 
Suneel Setlur
Ranch Hand
Posts: 202
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A stub is a link between the applet and the browser.
The applet does not explicitly call this interface as it is
normally used by the run-time system for connecting the
applet and the browser
Hope this helps. Please correct me if I'm wrong.
Regards
Suneel
 
Bob Moranski
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you. I am learning this strange example that implements AppletStub and also calls addNotify() from a Frame object(API says do not call addNotify() directly).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic