December 2001
Intermediate to advanced
480 pages
9h 22m
English
Java, while JavaScript’s namesake, has very little in common with JavaScript other than some structures in the way that it is coded. Java is a compiled language, and because it is not interpreted in the browser as is HTML and JavaScript, it must be loaded into an HTML page to be viewed in a browser. Like a graphic or SWF file, Java programs, called “applets” (little applications), can be placed anywhere in an HTML script. The following format is the general one to bring in a Java applet to an HTML page:
<applet code="appletName.class" name="anyName" width=w height=h> The width and height variables set a block reserved for the Java applet. Measured in pixels, the block can take up just enough space for the applet, ...
Read now
Unlock full access