Learn Java with JBuilder 6 / Edition 1

Learn Java with JBuilder 6 / Edition 1

by John Zukowski
     
 

ISBN-10: 1893115984

ISBN-13: 9781893115989

Pub. Date: 04/01/2002

Publisher: Apress

Learn Java with JBuilder 6 teaches you how to become a productive JBuilder developer using thepopular Java IDE, JBuilder 6. Master teacher and Java programmer John Zukowski uses bite-size examples to introduce the Java programming language and the core Java libraries. Learn to use many of the JBuilder wizards and JBuilder's JavaBeans

Overview

Learn Java with JBuilder 6 teaches you how to become a productive JBuilder developer using thepopular Java IDE, JBuilder 6. Master teacher and Java programmer John Zukowski uses bite-size examples to introduce the Java programming language and the core Java libraries. Learn to use many of the JBuilder wizards and JBuilder's JavaBeans Express to automatically generate the development framework, which allows you to concentrate on filling in the business logic. Learn how to build and how to connect JavaBean components in JBuilder's drag-and-drop development environment. Master the Model-View-Controller architecture found in Swing'sgraphical user interfacecomponents to build complex user interfaces. Learn about multithreading and how to debug multithreaded programs, and much more!

Product Details

ISBN-13:
9781893115989
Publisher:
Apress
Publication date:
04/01/2002
Edition description:
2002
Pages:
648
Product dimensions:
7.50(w) x 9.25(h) x 1.43(d)

Table of Contents

About the Technical Reviewerxi
Acknowledgmentsxiii
Introductionxv
Part 1Starting Out1
Skill 1Exploring JBuilder3
Introducing JBuilder4
Installing JBuilder5
Getting a Registration Key14
Working in the JBuilder Environment22
Creating a Java Program28
Understanding the Source36
The Basics of Object-Oriented Programming39
Skill 2Employing the JBuilder Applet Wizard43
Using the Project Wizard44
Using the Applet Wizard47
Examining the Applet Source52
Getting Applet Parameters56
Using the Application Wizard58
Examining the Application Source61
Setting Application Parameters65
Skill 3Using Java Syntax77
Introducing Java Syntax78
Working with Data Types, Literals, and Strings84
Declaring Classes, Variables, and Methods87
Using Flow Control94
Using Exception Handling98
Looking for More Help100
Skill 4Creating a Scrolling Text Applet with Sound103
Getting Started104
Using the Override Method Wizard105
Understanding the Applet Life-Cycle Methods111
Adding Sound112
Introducing Multithreading117
Defining the Thread Using the Implement Interface Wizard119
Creating the Thread123
Skill 5Exploring the Abstract Window Toolkit and Swing129
Introducing the Abstract Window Toolkit and Swing130
Adding Components to Your Program131
Using Labels132
Using Text Fields136
Using Buttons139
Handling Events141
Converting an AWT Applet to a Swing Application149
Skill 6Understanding Layout Management161
Introducing Layout Management Principles162
Using the JTabbedPane Control162
Using FlowLayout165
Implementing ContainerListener168
Using GridLayout169
Using BorderLayout171
Using BoxLayout173
Using Other Layout Managers175
Skill 7Drawing with Java181
Drawing Support in Java182
Using the paint() Method to Draw183
Handling Mouse Events186
Drawing from a Buffer (Double Buffering)190
Changing Colors194
Using the Java 2D API199
Skill 8Accessing Files213
Getting File Information214
Using a StringWriter216
Reading Files220
Listing a Directory224
Showing a Directory Graphically225
Part 2Digging into JavaBeans237
Skill 9Understanding JavaBeans239
What's a Bean?240
What's Inside a Bean?240
What Does JBuilder Have to Do with All This?241
Skill 10Configuring the Palette253
Setting Up the Component Palette254
Finding Beans269
Skill 11Creating Beans: Events273
From Bean to Program277
Java's Delegation-Based Event Model281
Making a Red Triangle291
Generating Event-Handling Code with BeansExpress299
Skill 12Creating Beans: Properties311
Introducing Properties312
Skill 13Creating Beans: Introspection337
Introducing Introspection338
Using the BeanInfo Introspector346
Overriding BeanInfo352
Skill 14Creating Beans: Customization361
Getting Started362
Creating the ShapeBox362
Using the Default Property Editor368
Getting Shape Names As Input371
Creating a Custom Property Editor383
Skill 15Creating Beans: Serialization395
Learning about Persistence396
Creating the Interface396
Making the Counter Count397
Enabling Save and Load400
Part 3Advanced Skills413
Skill 16Delivering Programs415
Scooping Ice Cream416
Creating the Applet417
Creating an Archive438
Skill 17Working with Menus453
Getting Started454
Working with an About Box455
Using the Menu Designer457
Using the JOptionPane460
Changing Colors with the JColorChooser462
Changing Fonts with the FontChooser463
Skill 18Creating a JToolBar471
Working with Toolbars472
Docking Toolbars475
Picking Files477
Closing Up482
Skill 19Internationalization487
We Are the World488
Working with Locales488
Creating the Program491
Formatting Numbers492
Formatting Dates495
Bundling Resources499
Skill 20Customizing JBuilder513
Configuring Project Defaults514
Working with Code Templates520
Changing the JDK Version525
Adding Tools530
Understanding Obfuscation533
Skill 21Debugging Multithreaded Programs537
Creating the Test Program538
Debugging the Program553
Skill 22Exploring JBuilder Professional and JBuilder Enterprise567
Beyond JBuilder Basics568
Versioning Files568
UML Code Visualization572
Refactoring578
Unit Testing582
Two-Way EJB Designer583
Glossary587
Index607

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >