Bibliographic Information

Just Java 1.2

Peter van der Linden

(Java series)

Sun Microsystems, c1999

4th ed

Other Title

Just Java 2

Available at  / 1 libraries

Search this Book/Journal

Note

Includes index

Description and Table of Contents

Description

Programmers can cut right to the chase and learn Java 1.2 fast with this fully-revised and updated edition of Just Java, Peter van der Linden's long-time best-seller! The new edition includes practical introductions to the important new features added to JDK 1.2, especially the graphical "Swing" components. Written in the author's trademark humorous style, it presents a crystal-clear introduction to both Java and object-oriented programming. You'll find extensive real-world examples, and expert insight into both the advantages and challenges of programming with Java 1.2. The accompanying CD-ROM is a truly awesome resource, including extensive sample code from several top Java programmers, the complete 121-page Java Programmer's FAQ, and tons of great freeware, including Linux, Samba, Perl, Tcl, Python, the Algol compiler, Java games, and much more.

Table of Contents

1. What Is Java. Compiling and Executing a Sample Program. The Biggest Java Benefit: Portability. The "Java Platform" . The Java Language. Java Libraries. Releases of the JDK to Date. Java Virtual Machine. The World Wide Web and Java. 2. The Story of O: Object-Oriented Programming. Abstraction. Encapsulation. The One-Minute Object Manager. Classes. Per-Instance and Per-Class Members. The "final" Modifier. Access Modifiers. Some Light Relief. 3. Explanation of a Sample Program. Explanation of the Example Program. Where an Application Starts. Runtime Internals: Stack and Heap. The Class "Object" . Some Light Relief. 4. Identifiers, Keywords, and Types. Identifiers. Comments. Keywords. The Primitive Types. Some Light Relief. 5. Names, Arrays, Operators, and Accuracy. Names. Expressions. Arrays. Operators. Associativity. How Accurate Are Calculations? What Happens on Overflow? The Math Package. Some Light Relief. Further Reading. 6. More OOP -Extending Classes. Inheritance. Polymorphism. The Class Whose Name Is Class. Some Light Relief. Exercises. 7. Java Statements. "Organizing" Statements. Expression Statements. Selection Statements. Iteration Statements. Transfer of Control Statements. Exceptions. Some Light Relief. 8. Interfaces. Using Interfaces Dynamically. Some Light Relief. Exercises. 9. Packages and Visibility. How Packages Support Namespaces. Compilation Units. Inner Classes. The Class Character. Some Light Relief. 10. Doing Several Things at Once: Threads. What Are Threads? Two Ways to Obtain a New Thread. The Lifecycle of a Thread. Thread Groups. Four Kinds of Threads Programming. Some Light Relief. 11. Advanced Thread Topics. Swing Threads-A Caution! Garbage Collection. Some Light Relief. Exercises. Further Reading. 12. Practical Examples Explained. Case Study Java Program: Fritter Engine Shunt. Some Light Relief. Exercises. 13. All About Applets. Embedding a Java Program in a Web Page. Starting Applet Execution. Zip Files and Jar Files. Some Light Relief. Further References. HTML Applet Tags. Exercises. 14. JDK 1.2 Security. The Sandbox. Code Signing. The Security Manager. Applying the Security Policy. Signing a Java Program. Some Light Relief. Further References. 15. Java Data Structures Library. The java.math API. The java.util API. Collections. Calendar Utilities. Other Utilities. Some Light Relief. Exercises. 16. Java Enterprise Libraries. Object Communication Middleware. Remote Method Invocation. Object Serialization. Java and Databases: JDBC. Useful URLs. Some Light Relief. 17. GUI Basics and Event-Handling. All About Event-Handling. Tips for Slimming down Handler Code. Summary of Event-Handling. Some Light Relief. 18. JFC and the Swing Package. Java Foundation Classes. All About Controls (JComponents). More about Swing Components. Some Light Relief. 19. Containers, Layouts, and AWT Loose Ends. Pluggable Look and Feel. All About Containers. Layout in a Container. Tying up the Loose Ends. Some Light Relief. 20. Graphics Programming. Colors. Fonts and Font Metrics. The Graphics Context. Drawing Text, Lines, and Shapes. Loading and Drawing Images. Sounds. Some Light Relief. 21. File I/O. Files and Streams. Formats, Encodings, and I/O. JDK 1.1 Input. JDK 1.1 Output. Piped I/O for Threads. How to Execute a Program from Java. ZIP Files and Streams. Some Light Relief. Answer To Programming Challenge. Answer To Programming Challenge. 22. Networking in Java. Everything You Need To Know about TCP/IP But Failed to Learn in Kindergarten. Ping in Java. Sending E-Mail by Java. How to Make an Applet Write a File on the Server. HTTP and Web Browsing: Retrieving HTTP Pages. A Client/Server Socket Program. A Multi-Threaded Client/Server System. Page Counters in Web Pages. Some Light Relief. Exercises. Further Reading. Acknowledgments. Appendix A: The Obsolete JDK 1.0 Event Model. Obtaining Mouse and Keyboard Input. Capturing Individual KeyPresses. Handling the Quit Event. Appendix B: Obsolete Components of the Abstract Window Toolkit. How the Java Abstract Window Toolkit Works. Controls, Containers, Events. All About AWT Controls (Components). All About Containers. Appendix C: Powers of 2 and ISO 8859. Index.

by "Nielsen BookData"

Related Books: 1-1 of 1

Details

  • NCID
    BA53078236
  • ISBN
    • 0130105341
  • LCCN
    00268311
  • Country Code
    us
  • Title Language Code
    eng
  • Text Language Code
    eng
  • Place of Publication
    Palo Alto, Calif.
  • Pages/Volumes
    xxi, 777 p.
  • Size
    24 cm.
  • Attached Material
    1 computer laser optical disc (4 3/4 in.)
  • Classification
  • Subject Headings
  • Parent Bibliography ID
Page Top