Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Confused about class Applet and JApplet

 
Shen Lin
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to know what is the diffreences between Applet and JApplet. It seems that I cannot add Components to Applet, but it is OK for JApplet.
Is it true?
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can indeed add components to an Applet. The Button class extends Component.What components are you having trouble adding to a simple Applet?
 
Shen Lin
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, Dirk. I think I have a better understanding now and should be able to add other components.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic