aspose file tools
The moose likes Applets and the fly likes Confused about class Applet and JApplet Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Applets
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Confused about class Applet and JApplet
 
Similar Threads
how to embed frame of another file to panel
put an applet into a web page
Menubar in applet possible?
Diff Between Applet and JApplet??
Applet and XML Doc through a browser