Chapter 37 Materials

Figure 37.1 Illustration of three active document representations and the programs that translate or transport the document. The darkened arrows show the direction a document moves.
Figure 37.2 An example applet that counts the number of times a user clicks a button.
Figure 37.3 Illustration of the display after the applet in Figure 37.2 begins execution.
Figure 37.4 The display after the user has clicked the button once.
Figure 37.5 An example applet that interacts with the HTTP and HTML facilities in a browser.
Figure 37.6 Illustration of the display produced by the applet in Figure 37.5.
Figure 37.7 A JavaScript program that performs the same function as the Java applet in Figure 37.2. JavaScript is embedded in an HTML page.
Code sample 37_1 Code for example Java program in section 37.13
Code sample 37_2 Code for example Java program in section 37.15