Java applet compilation example

Source: Internet
Author: User

Java applet Introduction: Applet can be translated into small applications. Java Applet is such a small application written in Java language. They can be directly embedded into webpages, and can produce special results. A webpage containing an Applet is called a Java-powered page, which can be called a webpage supported by Java. When a user accesses such a webpage, the Applet is downloaded to the user's computer for execution, provided that the user is using a Web browser that supports Java. Since the Applet is executed on the user's computer, its execution speed is not limited by the network bandwidth or Modem access speed. Users can better enjoy the multimedia effects of Web-based applets. In Java Applet, You can implement graphics rendering, font and color control, animation and sound insertion, human-computer interaction, network communication, and other functions. The Applet also provides a Window development tool named Abstract Window Toolkit (AWT. AWT uses the GUI elements of the user's computer to create standard graphical user interfaces, such as Windows, buttons, and scroll bars. Currently, there are a lot of Applet examples on the network to vividly present these functions. Readers can access the corresponding web pages to view their effects. <BR> How Applet works. the HTML file code of a webpage containing an Applet contains a pair of tags such as <applet> and </applet>. When a web browser supporting Java encounters this pair of tags, the corresponding small application code will be downloaded and the Applet will be executed on the local computer.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.