It's not a secret anymore!
The moose likes Java in General and the fly likes Difference Between Applet and Plugin Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Difference Between Applet and Plugin" Watch "Difference Between Applet and Plugin" New topic

Difference Between Applet and Plugin

Indira Devi
Ranch Hand

Joined: Feb 07, 2001
Posts: 30
Can any one of u tell me the difference between the Applets and Java Plugins
Thanks in advance
Nathan Pruett

Joined: Oct 18, 2000
Posts: 4121

The Java Plugin is a special way to run Applets. It tells your browser to use a specified program (the Sun JVM, I believe) to run downloaded Java Applet class files instead of using the JVM embedded in your browser. This is good because there is then a standard JVM implementation running your applet and the crappy browser VM won't throw errors you don't expect, and your Applet can use new things (like Swing) that the old browser VMs don't support. You have to use HTMLConverter to run your applet through the Java Plugin because plugins use the Object tag to run your Applet... if you used the normal [b]Applet{/b] tag the browser would use it's own built in JVM...

Write once, run anywhere, because there's nowhere to hide! - /. A.C.
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040

closing this thread here and moving it to the Applets forum.
- satya

Take a Minute, Donate an Hour, Change a Life
I agree. Here's the link:
subject: Difference Between Applet and Plugin
It's not a secret anymore!