Đang chuẩn bị liên kết để tải về tài liệu:
java programming language basics phần 2

Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ

Thứ hai sơ thẩm của File Tóm tắt thông tin khách hàng 1 chương trình ví dụ bao gồm chương trình RMIClient1, đối tượng từ xa và giao diện, và chương trình RMIClient2 như minh họa trong biểu đồ. Các tập tin mã nguồn tương ứng cho các file thực thi được mô tả trong danh sách đạn dưới đây | Java TM Language Basics Part 1 Lesson 2 Building Applications http developer.java.sun.com developer.aining Programming BasicJava1 prog.html Printable Page This page was updated 11-Apr-2000 Products APIs Developer Connection Docs Training Online Support Community Discussion Industry News Solutions Marketplace Case Studies Glossary - Applets - Tutorial - Employment - Business Licensing - Java Store - Java in the Real World FAQ Feedback Map A-Z Index For more information on Java technology and other software from Sun Microsystems call 800 786-7638 Outside the U.S. and Canada dial your country s AT T Direct Access Number first. Copyright 1995-2000 Sun Microsystems Inc. All Rights Reserved. Terms of Use. Privacy Policy. 6 of 6 21-04-2000 17 30 Java TM Language Basics Part 1 Lesson 3 Building Applets http developer.java.sun.com developer.ning Programming BasicJava1 applet.html Products APIs Developer Connection Docs Training Online Support Community Discussion Industry News Solutions Marketplace Case Studies - A-Z Index I Search __ JAVA DEVELOPER CONNECTION TRAINING java.sun.com Training Index Java Programming Language Basics Part 1 Lesson 3 Building Applets BACK CONTENTS NEXT Like applications applets are created from classes. However applets do not have a main method as an entry point but instead have several methods to control specific aspects of applet execution. This lesson converts an application from Lesson 2 to an applet and describes the structure and elements of an applet. Application to Applet Run the Applet Applet Structure and Elements Packages More Information Application to Applet The following code is the applet equivalent to the LessonTwoB application from Lesson 2. The figure below shows how the running applet looks. The structure and elements of the applet code are discussed after the section on how to run the applet just below. import java.applet.Applet import java.awt.Graphics import java.awt.Color public class SimpleApplet extends Applet String .