Java is a programming language, Java applets (Java applet) is a Java based on the evolving, can be embedded in the Web page, can perform a small task of the application.
Effect description
Create the file, take the Java calculator as an instance, insert the Applet object, set the height and width, as shown in Figure 35-1. For actual effects, browse to the source file on the CD with the book.
Creative Thinking
Open the Dreamweaver MX 2004 software New page, perform the Insert ∣ Media ∣ Applet command, insert the Applet object, and then set the height and width.
Operation Steps
(1) Create a new basic page. Open the Dreamweaver MX 2004 software and create a new file, as shown in Figure 35-2.
(2) Save the page. For ease of operation, the basic page to be built is saved, as shown in Figure 35-3.
(3) Insert the program. After you save the page, you can manipulate the page by inserting a Java applet, as shown in Figure 35-4.
(4) Set parameters. Select the icon after inserting the program, and then set the parameters for the Applet object in the property bar, as shown in Figure 35-5.
(5) Save the file to complete the operation. Now the Java technology is very mature, because some of the functionality of Html is not implemented, we can use Java to implement, insert the Java module, can be Java developed modules embedded in the Web page, Java Technology implementation.
This example is implemented using Java, but now because of network security issues, many browsers will disable these Java programs, so you may not be able to display the content when previewing the effect of this instance, but also may pop-up prompts, but only in the hint to allow it; It is necessary to install the compressed package file that is attached to the source file's corresponding instance.