*
The moose likes Applets and the fly likes Confused about class Applet and JApplet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Confused about class Applet and JApplet" Watch "Confused about class Applet and JApplet" New topic
Author

Confused about class Applet and JApplet

Shen Lin
Greenhorn

Joined: Mar 10, 2003
Posts: 10
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

Joined: Dec 10, 2001
Posts: 7023
You can indeed add components to an Applet. The Button class extends Component.What components are you having trouble adding to a simple Applet?


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
Shen Lin
Greenhorn

Joined: Mar 10, 2003
Posts: 10
Thanks, Dirk. I think I have a better understanding now and should be able to add other components.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Confused about class Applet and JApplet
 
Similar Threads
Menubar in applet possible?
Applet and XML Doc through a browser
Diff Between Applet and JApplet??
put an applet into a web page
how to embed frame of another file to panel