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 a main method but rather init, start, paint etc. for displaying on the browser window
|
Applets are not trusted as a default, so they have several restrictions 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
|