Applet Vs Java Application

java packages ยป java.applet

Applet

  • Applets must extend java.applet.Applet
  • Applets have no main() method
  • Applets are started and stopped by the browser
  • Applets are downloaded from the Web and executed inside a browser
  • Applets can't read or write to local file system
  • Applets have nothing to install

Application

  • Application have main() method
  • Application are stand alone java programs that do not require a Web browser to run
  • Application have no security restrictions that applets have
  • Application are larger and more capable

Applet


AppletContext

2011-2012 JavaExamples.org Privacy Policy Powered by Google App Engine