How To

How to Insert a Java Applet With Dreamweaver

Contributor
By eHow Contributing Writer
(3 Ratings)

Applets are small pieces of Java code that can be embedded in a Web page; they typically perform small tasks, like animating text. While Java is a full-fledged programming language, simple applets can be written pretty easily, or they can also be found ready-made, for free, on the Web. These instructions assume you have an existing Java applet saved on your hard drive and Dreamweaver 3.

Difficulty: Moderate
Instructions

Things You'll Need:

  1. Step 1

    Start Dreamweaver and open the page the applet will be added to.

  2. Step 2

    Click on the spot you want the applet to go.

  3. Step 3

    Click on the Insert Java Applet button (which resembles a hot cup of coffee) from the Objects palette.

  4. Step 4

    Choose the file containing the Java applet on your hard disk.

  5. Step 5

    To change the applet's properties, click on the applet and open the Property Inspector.

  6. Step 6

    Use the Property Inspector to change the size, layout, and name of the applet, and add an ALT tag for people whose browsers can't interpret Java.

  7. Step 7

    Add the applet's parameters by clicking on Parameters. The parameters are part of the applet and are usually listed in the documentation, if you got the applet from an outside source.

  8. Step 8

    Save the page when finished and preview it by choosing Preview in Browser from the File menu.

Tips & Warnings
  • See the Related Sites to learn more about Java and Java applets, and to find free Java online.
  • Consult the Dreamweaver online help for more information about Dreamweaver's Java capabilities.
  • Applets, like scripts and Web pages, are proprietary pieces of code and belong to the designer. Obtain permission before using applets not clearly marked for free use.

Post a Comment

Post a Comment
  • Have you done this? Click here to let us know.
I Did This

Related Ads

Internet
Virginia DeBolt,

Meet Virginia DeBolt eHow's Internet Expert.

Get Free Internet Newsletters

Copyright © 1999-2009 eHow, Inc. Use of this web site constitutes acceptance of the eHow Terms of Use and Privacy Policy.   en-US

Demand Media
eHow_eHow Technology and Electronics