Java : Your Visual Blueprint for Building Portable Java Programs (Visual Read Less, Learn More) (BK&CD-ROM)

Java : Your Visual Blueprint for Building Portable Java Programs (Visual Read Less, Learn More) (BK&CD-ROM)

  • ただいまウェブストアではご注文を受け付けておりません。 ⇒古書を探す
  • 製本 Paperback:紙装版/ペーパーバック版/ページ数 305 p.
  • 言語 ENG
  • 商品コード 9780764535437
  • DDC分類 005.133

Full Description


Although experienced Java programmers will find the book useful as a reference, "Java: Your Visual Blueprint to Programming with Java" targets the beginning to intermediate programmer. The book assumes no previous Java experience, and is perfect for bright visual learners who want to learn Java as their first programming language and relatively inexperienced programmers looking to pick up Java as their second programming language.

Table of Contents

How to Use this Book                               xiv
Getting Started with Java
Introducing the Java Phenomenon 2 (4)
Create a Java Source File 6 (1)
Save a Java Source File 7 (1)
Enter Java Source Code 8 (2)
Compile a Java Program 10 (2)
Run Your First Program 12 (2)
Run a GUI Program 14 (2)
Using the Tester Classes 16 (2)
Programming Basics
Introduction to Data Types 18 (4)
Declare a Local Variable 22 (2)
Subtract Two Numbers 24 (2)
Divide Numbers 26 (2)
Make a Decision 28 (2)
Call a Method 30 (2)
Write a Method 32 (2)
Pass an Argument to a Method 34 (2)
Return a Value from a Method 36 (2)
Create an Object 38 (2)
Prevent Changes to a Variable 40 (2)
Convert Between Variable Types 42 (2)
Write a Comment 44 (4)
Format Your Code Professionally 48 (2)
Working with Strings
Create a String 50 (2)
Compare Two Strings 52 (2)
Search Strings 54 (2)
Cut Strings Apart 56 (2)
Attach Strings Together 58 (2)
Modify the Case of a String 60 (2)
Convert Numbers Into Strings 62 (2)
Convert Strings Into Numbers 64 (2)
Translate Strings 66 (2)
Making a Graphical User Interface
Create a Window 68 (2)
Add a Button 70 (2)
Add Text Fields 72 (2)
Add a Label 74 (2)
Add a Combo Box 76 (2)
Arrange Your Components 78 (6)
Use Distinct Areas 84 (2)
Add Check Boxes and Radio Buttons 86 (2)
Add More Components 88 (2)
Scroll a Window 90 (2)
Adding Event Handling
Make a Button Respond 92 (2)
Use an Anonymous Class 94 (2)
Compute a Result 96 (2)
Declare a Member Variable 98 (2)
Choose Options 100(2)
Drag a Button 102(2)
Respond to Text Changes 104(2)
Add Keyboard Shortcuts 106(2)
Close a Window 108(2)
Use an Adapter Class 110(2)
Show a Modal Dialog Box 112(2)
Using Control Structures
Do Something 10 Times 114(2)
Perform a Task While a Condition is True 116(2)
Repeat A Task Until Something Happens 118(2)
Choose Among Many Options 120(2)
Quit Early 122(2)
Run Another Program 124(4)
Working with Groups of Objects
Create an Array 128(2)
Resize an Array 130(2)
Use an ArrayList 132(2)
Compare Objects 134(2)
Sort a String Array 136(2)
Use a Map 138(2)
Go Through A Collection 140(2)
Use a Linked List 142(2)
Use a Set 144(2)
Designing Whole Classes
Create a Class 146(2)
Add a String Member Variable 148(2)
Add Constants 150(2)
Add Constructors 152(2)
Add Static Variables 154(2)
Add Methods 156(2)
Create a Package 158(2)
Protect Your Data 160(2)
Overload Methods 162(2)
Add Static Methods 164(2)
Add an Inner Class 166(2)
Clean Up 168(2)
Control Construction 170(2)
Writing Applets for the Web
About Applets and the Internet 172(2)
Write a Hello, World Applet 174(2)
Play Music 176(2)
Display a Web Page 178(2)
Debug An Applet 180(2)
Use the Java Plug-in 182(2)
Climb Out of the Sandbox 184(4)
Recovering from Errors
Introduction to Exceptions 188(2)
Read a Stack Trace 190(2)
Catch an Exception 192(2)
Use a Finally Block 194(2)
Throw an Exception 196(2)
Define Your Own Exception Class 198(2)
Handle Bad User Input 200(2)
Debug a Program 202(2)
Customizing a Class with Inheritance
Introduction to Inheritance 204(2)
Extend a Class 206(2)
Implement an Interface 208(2)
Call a Superclass Method 210(2)
Simplify Your Code 212(2)
Use Inheritance Wisely 214(2)
Use Polymorphism 216(2)
Prevent Inheritance 218(2)
Force Inheritance 220(2)
Working with Files, Networks, and Printers
Read a String from a File 222(2)
Write to a File 224(2)
Write Numbers to a File 226(2)
Write a Binary File 228(2)
Read from a Prompt 230(2)
Find Files in a Directory 232(2)
Talk Over the Internet 234(4)
Submit Queries on the Web 238(2)
Print a Picture 240(2)
Creating Advanced Guis
Draw Shapes 242(2)
Draw Lines 244(2)
Draw in Color 246(2)
Add Fonts 248(2)
Display Images 250(2)
Manipulate Images 252(2)
Present Items in a List 254(2)
Create Menus 256(2)
Create a Tree View 258(2)
Work with Tables 260(2)
Choose a File 262(2)
Doing Two Things at Once
Introduction to Threads 264(2)
Do Two Things at Once 266(2)
Service Multiple Clients 268(2)
Prevent Collisions 270(2)
Send Messages Between Threads 272(2)
Animate a Drawing 274(2)
Use a Timer 276(2)
Dynamic Programming
Load a Class by Name 278(2)
Call a Method with Reflection 280(2)
Access Variables with Reflection 282(2)
Use Default Serialization 284(2)
Customize Serialization 286(2)
Appendix A: Java Quick Reference 288(4)
Appendix B: What's on the CD-Rom 292(8)
Index 300