Java graphics programming BASICS (serialization 0)

Source: Internet
Author: User
Tags object serialization


1001 Java progammer's tips

 

Java programming highlights 1001

 

Translated

This article was translated by the Hong Kong Wanli bookstore in the 1996 s. It provided only 1/3 of the original book translated, and the remaining 2/3 was completed by two other colleagues. Since the translation was completed at the time of the return of Hong Kong in 1997, the Hong Kong and Southeast Asian situations were quite turbulent at that time, and the press worried that it would not be able to return the cost. Although it was sufficient to send a draft fee, it was not finally printed and published, since then, I have been completely useless in my paper, and it has never been moved in a 420 m hard drive. I have always felt a pity. Later I learned that this book was published by the China Electronics Industry Publishing House in 1998, but it will be sold out in a few years. I recently found that someone is still searching for this book on the Internet, so I decided to find the hard drive hidden in the bottom of the box. Used at that time
WPS editing and writing is now converted to the Word document format, which is a bit messy. Now I have sorted it out and put it online so that the publisher can download it freely.

The tips I translated is the intermediate part of Article 1001, from article 333 to Article 661. It covers mathematical and date functions, arrays, search and sorting algorithms, and abstract forms tools (AWT) 3D graphic design, image and multimedia programming, graphic user interface (GUI) design, event processing, Applet design, and so on. In general, these contents are relatively basic and independent. As long as there is a C language programming Foundation, even if there is no more basic java knowledge, most of them can understand.

It should be noted that the Java development tool has improved a lot since jdk1.1 to 1.6 and 1.7. Fortunately, this book is about some basic skills and will not change much, I have used jdk1.6 to experiment with the source code of dozens of plotting programs without any modification. All of them have passed (I used this method to generate most illustrations in the translation). Therefore, these materials are valuable to beginners.

When I provide the translation, I also put the original text together. In this way, if the Chinese translation is inaccurate or incorrect, you can refer to the original text for reading. If the original text is incorrect, comments will be given in the translation. I believe that many people use English-Chinese comparisons to better understand the content than simply reading Chinese or only English. If the reader finds that the translation or the original has errors or doubts, he or she also wants to tell the translator where he or she is located for correction (zzwoo@126.com ).

In order to facilitate the comparison, English and Chinese will be intertwined, and the English is required to use blue, the translation uses black, the program code as a paragraph with a deep red and add a light blue bottom. Putting the original text on the Internet doubles the layout. Fortunately, this is an electronic publication. Unlike printing and publishing, there is no need to worry about any burden on the layout. The error I found in the original text is represented in gray. In addition, the original text has been edited and reviewed in advance, and comments are made to the words with errors or questions, some of them are provided for defecation. I still put these comments in red, but they are not deleted. Readers can refer to them.

As a plug-in to Java Graphic programming, I chose Chapter 12 from section 12.1 to section 12.7.Abstract drawing wing Toolkit(AWT) All content is introduced 7 times, as shown in the following directory. It should be noted that only section 12.1 (TIP424-TIP449) contains illustrations, and most of the rest are not yet illustrated, it is recommended that the readers themselves, according to the Java source code provided by the file, generate the required illustrations, the translator may also add some illustrations at any time. For details about these tips, you can view them after each serialization, without adding a detailed directory.

Section 13 and section 14 are separated by the titles of Java multimedia programming and Java3D Graphic programming, which are introduced after section 12,

In section, a general name such as "Java functions, events, arrays, search and sorting" is put at the end of the article. In this way, the deep blue section below is the part I translated, all introductions are complete.

Zzwu is located in shishe, Fudan University,-1.

Email: zzwoo@126.com.

Original book directory and page number of each part

(Full directory. Only 8-14 sections are translated)

(The 12 sections are further divided into seven sections, which are made in the original book, indicating that there are many contents)

 

01. Getting Started 001-053 (52)
02. Programming basics 054-185 (131)
03. object-oriented programming 186-207 (21)
04. Defining your own class 208-250 (42)
05. Java programming in detail 251-259 (8)
06. Difference between Java and C ++ 260-276 (16)
07. language basics 277-333 (56)

08. Math functions in Java 334-359 (25)
09. Date functions in Java 360-375 (15)
10. Using arrays to store data 376-401 (25)
11. event handling 402-423 (21)
12. abstract drawing wing toolkit 424-590 (166)
12.1. abstract drawing wing toolkit 424-449 (25)
12.2. abstract drawing wing toolkit 450-578 (28)
12-3. abstract drawing wing toolkit 479-499 (20)
12.4. abstract drawing wing toolkit 500-525 (25)
12.5. abstract drawing wing toolkit 526-556 (30)
12.6. abstract drawing wing toolkit 557-572 (15)
12.7. abstract drawing wing toolkit 573-590 (13)
13. multimedia programming 591-625 (34)
14. 3-D graphics 626-661 (35)

15. Stream I/O operations 662-708 (46)
16. Exception Handling 709-726 (17)
17. Thread Programming 727-756 (29)
18. Dynamic Data Structures 757-805 (48)
19. Network Programming 806-862 (56)
20. Memory Management 863-871 (8)
21. Java database connectivity (JDBC) 872-905 (33)
22. Object serialization 906-925 (19)
23. Java security 926-930 (4)
24. debugging Java 931-948 (17)
25. Building custom controls 949-968 (19)
26. putting it all together 969-989 (20)
27. Finishing up 990-1001 (11)

 

Return

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.