File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Confused about class Applet and JApplet
 
Similar Threads
Applet and XML Doc through a browser
put an applet into a web page
Menubar in applet possible?
how to embed frame of another file to panel
Diff Between Applet and JApplet??