Java applets are classes written in Java which are intended not to run as stand-alone programs (as applications do) but as subprograms of a browser which is already managing a window.
|
Applets should NOT have main method but rather methods called init, start, paint etc. for displaying on the browser window
|
Applets are not trusted as a default, so they have several restricitions on running on the client machine
-
no printing or file I/O
-
cannot connect through the network to any machine but its own server
-
any new windows created by the applet have a warning label
|
One can sign Applets (that is what Tango does) to allow user to give permission for such services
|