CART

(0) items

Java Programming With Microsoft Visual J++ 6.0: Comprehensive,9780760011744

Java Programming With Microsoft Visual J++ 6.0: Comprehensive

by ;
ISBN13:

9780760011744

ISBN10:
0760011745
Format:
Paperback
Pub. Date:
5/1/1999
Publisher(s):
Course Technology Ptr
List Price: $53.95
More New and Used
from Private Sellers
Starting at $0.99
See Prices

Rent Textbook

We're Sorry
Sold Out

Used Textbook

We're Sorry
Sold Out

eTextbook

We're Sorry
Not Available

New Textbook

We're Sorry
Sold Out

Related Products


  • Java Programmimg
    Java Programmimg
  • Java Programming
    Java Programming
  • Java Programming
    Java Programming
  • Java Programming
    Java Programming
  • Java Programming
    Java Programming
  • Java Programming
    Java Programming
  • Java Programming with MS Visual J++ 7.0 : Comprehensive
    Java Programming with MS Visual J++ 7.0 : Comprehensive
  • Java Programming, 6th Edition
    Java Programming, 6th Edition




Summary

Provides a guide for the beginning programmer to develop applications and applets from the bottom up. Introduces object-oriented programming concepts and the Java syntax to implement them in addition to coverage of the Visual J++ development environment. Softcover. CD-ROM included.

Table of Contents

Preface v
Read This Before You Begin xxiii
Programming, Java, and Microsoft Visual J++
1(52)
Section A: An Overview of Programming and Java
3(11)
Programming
3(1)
Object-Oriented Programming
4(3)
The Java Programming Language
7(1)
Microsoft Visual J++
8(1)
Summary
9(1)
Questions
10(3)
Exercises
13(1)
Section B: The Microsoft Visual J++ Development Environment
14(39)
Creating a New Project in Visual J++
14(3)
Visual J++ IDE
17(1)
Managing Windows
17(3)
The Main Window
20(3)
Project Explorer
23(2)
Desingers
25(1)
The Toolbox
26(1)
The Task List
27(3)
The Properties Window
30(3)
Visual J++ Help
33(4)
Adding Files to a Project
37(1)
Adding Projects to a Solution
38(2)
Renaming Solutions and Projects
40(1)
Saving Solutions, Projects, and Files
41(1)
Closing solutions, Projects, and Files
42(1)
Opening Existing Solutions and Projects
43(1)
Creating and Opening Individual Files
44(2)
Exiting Visual J++
46(1)
Summary
47(2)
Questions
49(2)
Exercises
51(2)
A First Program Using Java
53(50)
Section A: Creating a Program
54(28)
Java Programming Structure
54(7)
The Text Editor Window
61(4)
Writing Your First Java Program
65(3)
Adding Comments to a Program
68(2)
Running a Program
70(6)
Modifying a Program
76(2)
Summary
78(1)
Questions
79(2)
Exercises
81(1)
Section B: Using Data
82(21)
Variables and Constants
82(2)
The int Data Type
84(3)
Arithmetic Statements
87(3)
The Boolean Data Type
90(1)
Floating-Point Data Types
91(2)
Numeric Type Conversion
93(1)
The char Data Type
94(2)
Summary
96(1)
Questions
97(3)
Exercises
100(3)
Using Methods, Classes, and Objects
103(52)
Previewing the SetUpSite Program Using the EventSite Class
104(1)
Section A: Programming Using Methods
105(19)
Creating Methods with No Arguments
105(7)
Methods That Require a Single Argument
112(3)
Methods That Require Multiple Arguments
115(2)
Methods That Return Values
117(2)
Summary
119(1)
Questions
120(2)
Exercises
122(2)
Section B: Using Classes
124(31)
Classes
124(2)
Class Outline
126(3)
Creating a Class
129(2)
Using Instance Methods
131(3)
Declaring Objects
134(3)
Organizing Classes
137(8)
Using Constructors
145(3)
Summary
148(1)
Questions
149(3)
Exercises
152(3)
Advanced Object Concepts
155(48)
Section A: Class Features
156(24)
Blocks and Scope
156(7)
Overloading
163(3)
Ambiguity
166(2)
Sending Arguments to Constructors
168(4)
Overloading Contructors
172(2)
Summary
174(1)
Questions
174(3)
Exercises
177(3)
Section B: Using Methods
180(23)
The this Reference
180(3)
Working with Constants
183(3)
Using Automatically Imported, Prewritten Constants and Methods
186(4)
Using Prewritten Imported Methods
190(5)
Object Browser
195(1)
Summary
196(2)
Questions
198(2)
Exercises
200(3)
Input, Selection, and Repetition
203(64)
Previewing the ChooseManager Program Using the Event Class
204(1)
Section A: Input and Decision Making
205(24)
Simple Keyboard Input
205(6)
Drawing Flowcharts
211(1)
Making Decisions with the if Structure
212(3)
The if...else Structure
215(2)
Compound Statements
217(5)
Nested if and Nested if...else
222(1)
Summary
223(1)
Questions
223(3)
Exercises
226(3)
Section B: Special Operators, the Switch Statement, and Precedence
229(16)
AND and OR Operators
229(5)
The Switch Statement
234(3)
The Conditional Operator
237(1)
The NOT Operator
237(1)
Precedence
238(2)
Summary
240(1)
Questions
240(3)
Exercises
243(2)
Section C: Looping and Shortcut Artithmetic
245(22)
The While Loop
245(6)
Shortcut Arithmetic Operators
251(3)
The for Loop
254(2)
The do...While Loop
256(1)
Nested Loops
257(4)
Summary
261(1)
Questions
262(3)
Exercises
265(2)
Arrays and Strings
267(68)
Previewing a Program That Uses Arrays and Strings
268(1)
Section A: Arrays
269(28)
Declaring an Array
269(3)
Initializing an Array
272(1)
Using Subscripts with an Array
273(1)
Declaring an Array of Objects
274(4)
Searching an Array for an Exact Match
278(5)
Searching an Array for a Range Match
283(1)
Passing Arrays to Methods
284(6)
Using the Array Length
290(1)
Summary
291(1)
Questions
292(3)
Exercises
295(2)
Section B: Strings
297(16)
Declaring Strings
297(2)
Comparing Strings
299(4)
Other String Methods
303(3)
Converting Strings to Numbers
306(2)
Summary
308(1)
Questions
309(3)
Exercises
312(1)
Section C: Advanced Array Techniques
313(22)
Sorting Primitive Array Elements
313(6)
Sorting Arrays of Objects
319(3)
Sorting Strings
322(2)
Using Two-Dimensional Arrays
324(3)
Understanding Multidimensional Arrays
327(1)
Using StringBuffer
328(2)
Summary
330(1)
Questions
331(2)
Exercises
333(2)
Applets
335(58)
Previewing the PartyPlanner Applet
336(1)
Section A: HTML and Applet Basics
337(36)
Applets and HTML Documents
337(5)
Creating an HTML Document with the HTML Editor
342(6)
Writing a Simple Applet Using a Label
348(6)
Chaging a Label's Font
354(2)
Adding TextField and Button Components to an Applet
356(3)
Event-Driven Programming
359(1)
Preparing Your Applet to Accept Event Messages
360(1)
Telling Your Applet to Except Events to Happen
360(1)
Teeling Your Applet How to Respond to Any Events That Happen
360(3)
Adding Output to an Appet
363(2)
Summary
365(2)
Questions
367(4)
Exercises
371(2)
Section B: The Applet Life Cycle and More Sophisticated Applets
373(20)
The Applet Life Cycle
373(6)
A Complete Interactive Applet
379(5)
Using the setLocation() Method
384(3)
Using the setEnabled() Method
387(1)
Getting Help
387(1)
Summary
388(1)
Questions
389(2)
Exercises
391(2)
Graphics
393(50)
Previewing the StopLight Applet
394(1)
Section A: Graphics Basics
395(24)
The paint() and repaint() Methods
395(3)
The drawString() method
398(2)
The setFont() and setColor() Graphics Object Methods
400(4)
Setting the Background Color
404(1)
Creating Your Own Graphics Object
404(3)
Drawing Lines and Rectangles
407(3)
Drawing Ovals
410(2)
Summary
412(1)
Questions
413(3)
Exercises
416(3)
Section B: More Graphics Methods
419(24)
Drawing Arcs
419(2)
Creating Three-Dimensional Rectangles
421(1)
Creating Polygons
421(2)
Copying an Area
423(2)
Using Font Methods
425(9)
Using Simple Animation
434(5)
Summary
439(1)
Questions
439(3)
Execises
442(1)
Introduction to Inheritance
443(42)
Previewing an Example of Inheritance
444(3)
Section A: Inheritance
447(17)
The Inheritance Concept
447(3)
Extending Classes
450(6)
Overriding Superclass Methods
456(4)
Summary
460(1)
Questions
460(2)
Exercises
462(2)
Section B: Using Superclasses and Subclasses
464(21)
Working with Superclasses That Have Contrsuctors
464(3)
Using Superclass Constructors That Require Arguments
467(3)
Accessing Superclass Methods
470(1)
Information Hiding
471(4)
Using Methods That You Cannot Override
475(3)
Summary
478(2)
Questions
480(2)
Exercises
482(3)
Advanced Inheritance Concepts
485(38)
Previewing an Example of Using an Abstract Class
486(1)
Section A: Abstract Classes and Dynamic Method Binding
487(20)
Creating and Using Abstract Classes
487(10)
Using Dynamic Methods Binding
497(2)
Creating Arrays of Subclass Objects
499(3)
Summary
502(1)
Questions
503(2)
Exercises
505(2)
Section B: Software Design and Interfaces
507(16)
The Object Class and Its Methods
507(1)
The toString() Method
507(1)
The equals() Method
508(5)
Using Inheritance to Achieve Good Software Design
513(1)
Creating and Using Interfaces
514(3)
Summary
517(1)
Questions
518(2)
Exercises
520(3)
Understanding the Abstract Windows Toolkit (AWT)
523(52)
Previewing the Party Planner Applet for Chapter 11
524(2)
Section A: Applying Inheritance Concepts to the Frame Class
526(24)
Using the Frame Class
526(4)
Creating a Frame That Closes
530(3)
Using an Adapter
533(3)
Using Additional Frame Class Methods
536(3)
Using Container Methods
539(5)
Summary
544(2)
Questions
546(2)
Exercises
548(2)
Section B: Using Components
550(25)
Using Component Methods
550(2)
Using a Checkbox
552(4)
Using the CheckboxGroup Class
556(3)
Using the Choice Class
559(4)
Using a List
563(6)
Summary
569(1)
Questions
570(2)
Exercises
572(3)
Using Layout Managers and the Event Model
575(44)
Previewing the Chap12Applet Project
576(2)
Section A: Using Layout Managers
578(19)
Using BorderLayout
578(5)
Using FlowLayout
583(2)
Using GridLayout
585(1)
Using Panels
586(5)
Advanced Layout Managers
591(1)
Summary
591(2)
Questions
593(3)
Exercises
596(1)
Section B: Using Events
597(22)
Understanding Events and Event Handling
597(7)
Using AWTEvent Class Methods
604(3)
Using Event Methods from Higher in the Inheritance Hierarchy
607(3)
Using Mouse Events
610(3)
Summary
613(1)
Questions
614(2)
Exercises
616(3)
Exception Handling and Debugging
619(54)
Section A: Introduction to Exceptions
621(20)
Understanding Exceptions
621(4)
Trying Code and Catching Exceptions
625(2)
Using the Exception getMessage() Method
627(2)
Throwing and Catching Multiple Exceptions
629(3)
Using the finally Block
632(2)
Understanding the Limitations of Traditional Error Handling
634(2)
Summary
636(1)
Questions
637(3)
Exercises
640(1)
Section B: Advanced Exception Concepts and Debugging
641(32)
Specifying the Exceptions a Method Can Throw
641(6)
Handling Exceptions Uniquely with Each catch
647(2)
Creating Your Own Exceptions
649(3)
Understanding Debugging
652(2)
Tracing Program Execution with the Visual J++ Debugger
654(1)
Using Step Commands
655(2)
Tracing Program Execution with Breakpoints
657(2)
Tracing Variables and Expressions with Debug Windows
659(1)
Using the Autos Window
660(1)
Using the Locals Window
661(1)
Using the Watch Window
661(1)
Using the Immediate Window
662(1)
Combining Debug Windows
663(2)
Tracing Exceptions through the Call Stack
665(2)
Summary
667(2)
Questions
669(2)
Exercises
671(2)
File Input And Output
673(38)
Previewing a Program that Uses File Data
674(1)
Section A: Introduction to the File Class
675(16)
Using the File Class
675(4)
Data File Organization and Streams
679(2)
Using Streams
681(4)
Writing to a File
685(1)
Reading from a File
686(1)
Summary
687(1)
Questions
688(2)
Exercises
690(1)
Section B: Advanced File Techniques
691(20)
Writing Formatted File Data
691(7)
Reading Formatted File Data
698(4)
Creating Random Access Files
702(3)
Summary
705(1)
Questions
706(2)
Exercises
708(3)
Multi - Threading and Animation
711(42)
Previewing a Program That Displays Animation
712(1)
Section A: Introduction to Multithreading
713(19)
The Concept of Multithreading
713(1)
Using the Thread Class
714(3)
Understanding a Thread's Life Cycle
717(3)
Using the sleep() Method
720(1)
Thread Priority
721(2)
Using the Runnable Interface
723(4)
Summary
727(1)
Questions
728(3)
Exercises
731(1)
Section B: Animation
732(21)
Creating an Animated Figure
732(6)
Reducing Flickering
738(4)
Using Images
742(3)
Garbage Collection
745(1)
Putting Your Animation in a Browser Page
746(4)
Summary
750(1)
Questions
750(2)
Exercises
752(1)
Windows Applications and Packaging
753(48)
Previewing the Windows Party Planner Applications
754(2)
Section A: J/Direct and Windows Foundation Classes for Java
756(31)
Windows Architecture and the Win32 API
756(1)
Using J/Direct to Access the Win32 API
757(4)
Native Applications versus Architecturally Neutral Applications
761(2)
Windows Foundation Classes for Java
763(3)
Using the Visual J++ Application Wizard
766(4)
WFC Forms
770(6)
WFC Controls
776(5)
Summary
781(2)
Questions
783(3)
Exercises
786(1)
Section B: WFC Events and Packaging
787(14)
WFC Events
787(4)
Creating and Using Packages
791(2)
Using Visual J++ Packaging to Distribute Programs
793(4)
Summary
797(1)
Questions
797(2)
Exercises
799(2)
Index 801


Please wait while the item is added to your cart...