The way of Java

書誌事項

The way of Java

Gary Entsminger ; [foreword by Bruce Eckel]

Prentice Hall PTR, c1997

大学図書館所蔵 件 / 1

この図書・雑誌をさがす

注記

Includes index

内容説明・目次

内容説明

Explore Java with a master of OOP (object-oriented programming) When a new programming language comes along, master programmers have to experiment with it to find the best ways to take advantage of its unique capabilities. Master programmer, Gary Entsminger, shares his discoveries and secrets in The Way of Java. Organized around the basic elements of OOP and Java, each chapter includes discussions, code, tests, and complete applications. Each application addresses a particular problem the author encountered in his early work with Java. This book recreates each application step by step, leading you through the process and showing you ways to experiment on your own. For readers unfamiliar with the object model, The Way of Java reviews the basics of OOP as they apply to Java. Even experienced programmers will benefit from Entsminger's insights about Java's special characteristics. Advanced chapters focus on the intricacies of the GUI, threads, lists, streams, and, of course, applets.Specific topics include: *Designing reusable and friendly user interfaces *Using and reusing objects, containers, and components *Using inheritance to create object hierarchies *Accessing classes from other classes *Using dynamic programming techniques An appendix provides a selected reference to the Java Development Kit, and the enclosed diskette contains the code for all projects in this book and JavaOnTheRocks, a Java development environment for Microsoft Windows created by the author. Author of The Tao of Objects, Secrets of the Visual Basic Masters, and The Way of Delphi, Gary Entsminger is a frequent contributor to many computing journals and a contributing editor for the Delphi Informant. He is currently working on a National Science Foundation Grant to develop user-friendly modeling systems based on the Delphi object model.

目次

Preface. Acknowledgments. Foreword. 1. Approaching Java-Classes, Objects, Patterns, and Strategies. What's Special about a Class? Why an Object-Oriented Java? Events. Reusing Code. The Applications in The Way of Java. Dynamic Design. Selected Class Descriptions. Code Design Patterns. A Few Symbols and Boldface. 2. A Class Act, An Object-Oriented Philosophy. Where We're Headed. Types. Classes-The Big Difference. Access Specifiers. Applet or Stand-Alone. A Hierarchy of Derived Classes. A Distinction-Primitive and Reference Types. Balancing Class Functionality and Reuse. Composing Classes. A Few Words about Class Scope. A Taste of Inheritance. Polymorphism-Many Shapes. A Class Hierarchy. A New Version of the Applet paint() Method. Constructors and Destructors. Some OOP Design Guidelines. Looking Ahead. 3. Objects, Events, Applications, and the .AWT. Creating Applications. CommandCalc(s). Creating an Application-First Steps. Create a Constructor and a main() Method. Events. Actions Speak Louder. Strings. CommandCalc(3)-A Few More Additions. 4. A Few Exceptions. Exception (But Not Error!) Handling. Hierarchyl. First Revision-Hierarchy. Class Hierarchies-Hierarchy. Deriving a Form and Packaging. Summing up Requires an Experiment. 5. Graphically Friendly Canvases and Menus. Random1-First Things First. Create a Constructor and a main() Method. Plotting Results on a Canvas. Random2-A Few Changes. Implementing a Menu-Driven User Interface. Random3 Summing up (Again) Leads to a Theme Variation. Finally. 6. Process, Runtime, and a First Thread. Runtime. Create a Constructor and a main() Method. Building a Friendlier Interface. Threads and a New Runtime. 7. Data, Data Everywhere-Lists, Streams, and File I/O. Lists. Create a Constructor and a main() Method. List2-Revise a User Interface. List3-Streams, Streams, and More Streams. List4-Some Additional Functionality. List5-Using the StringTokenizer Class. List6-Task Processing. 8. A Few More Threads. Threads1. Create a Constructor and a main() Method. Threads2-The Problem of Re-Entrance. Threads3-Modest Variation. 9. Applets-A Special Case. Erector: Create an Applet. From an Applet to a Stand-Alone Application. The Other Way Around: From Stand-Alone to Applet. 10. A Thread for Exploring Strange Attractors. Strange Attractors. Project: Attractors. Create a Constructor and a main() Method. Appendix A Selected Java Developers' Kit Class Method Reference. Index.

「Nielsen BookData」 より

詳細情報

  • NII書誌ID(NCID)
    BA31979961
  • ISBN
    • 0134919785
  • LCCN
    96051649
  • 出版国コード
    us
  • タイトル言語コード
    eng
  • 本文言語コード
    eng
  • 出版地
    Upper Saddle River, N.J.
  • ページ数/冊数
    xix, 392 p.
  • 大きさ
    24 cm. [+]
  • 付属資料
    1 computer disk (3 1/2 in.)
  • 分類
  • 件名
ページトップへ