Contents


Chapter 1: List of Tutorials
Basic tutorials
Database tutorials
   Providing data from a source
   Manipulating data locally
   Resolving data back to the source
   JDataStore tutorials
Enterprise tutorials
OpenTools tutorials

Chapter 2: Tutorial: Building an application
Step 1: Creating the project
Step 2: Generating your source files
   Changing the project properties
Step 3: Compiling and running your application
Step 4: Customizing your application's user interface
Step 5: Adding a component to your application
Step 6: Editing your source code
Step 7: Compiling and running your application
Step 8: Running your application from the command line
Step 9: Adding more components to your application
Step 10: Preparing your application for deployment
Step 11: Running your deployed application from the command line
HelloWorld source code
   Source code for HelloWorldFrame.java
   Source code for HelloWorldClass.java

Chapter 3: Tutorial: Building an applet
Overview
Step 1: Creating the project
   Changing the project properties
Step 2: Generating your source files
Step 3: Compiling and running your applet
Step 4: Customizing your applet's user interface
Step 5: Adding AWT components to your applet
Step 6: Editing your source code
Step 7: Deploying your applet
   Deploying your applet with the jar tool
   Deploying your applet with the Archive Builder
Step 8: Modifying the HTML file
Step 9: Running your deployed applet from the command line
Step 10: Testing your deployed applet on the Web
Applet source code
   Applet HTML source code
   Applet class source code

Chapter 4: Building a Java text editor
About this tutorial
   Overview
   What this tutorial demonstrates
Step 1: Creating the project
   Using the Project wizard
   Changing the project properties
   Selecting the project's code style options
   Using the Application wizard
   Suppressing automatic hiding of JFrame
   Setting the look and feel
Step 2: Adding a text area
Step 3: Creating the menus
Step 4: Adding a FontChooser dialog
   Setting the dialog's frame and title properties
   Creating an event to launch the FontChooser
Step 5: Attaching a menu item event to the FontChooser
Step 6: Attaching menu item events to JColorChooser
Step 7: Adding a menu event handler to clear the text area
Step 8: Adding a file chooser dialog
   Internationalizing Swing components
Step 9: Adding code to read text from a file
Step 10: Adding code to menu items for saving a file
Step 11: Adding code to test if a file has been modified
Step 12: Activating the toolbar buttons
   Specifying button tool tip text
   Creating the button events
   Creating a fileOpen() method
   Creating a helpAbout() method
Step 13: Hooking up event handling to the text area
Step 14: Adding a right-click menu to the text area
Step 15: Showing filename and state in the window title bar
Step 16: Deploying the "Text Editor" application to a JAR file
   Overview
   Running the Archive Builder
   Running the application from the command line

Chapter 5: Creating a UI with nested layouts
Step 1: Creating the UI project
   Using the Project wizard
   Adding the main panels
Step 2: Adding panels 5 and 6
Step 3: Adding panels 7 and 8
Step 4: Adding toolbar buttons and labels
Step 5: Creating combo boxes
Step 6: Adding a label and a text area
Step 7: Creating a status bar
Step 8: Changing to GridLayout
Step 9: Completing the toolbar
Step 10: Modifying more layouts
Step 11: Changing to BorderLayout
Step 12: Finishing the status bar and main panel
Step 13: Finalizing your layout

Chapter 6: GridBagLayout Tutorial
Introduction
Part 1: About GridBagLayout
   Overview of GridBagLayout
   What is GridBagLayout?
   What is the component's display area?
   What are GridBagConstraints?
   Why is GridBagLayout so complicated?
   Why use GridBagLayout?
   Simplifying GridBagLayout
Part 2: Creating a GridBagLayout in JBuilder
   About the design
   Step 1: Design the layout structure
   Step 2: Create a project for this tutorial
   Step 3: Add the components to the containers
   Step 4: Convert the outer panel to GridBagLayout
   Step 5: Convert the upper panels to GridBagLayout
   Step 6: Convert the lower panel to GridLayout
   Step 7: Make final adjustments
   Conclusion
Part 3: Tips and Techniques
   Setting individual constraints in the UI designer
   Using drag and drop to edit constraints
   Adding components
   Miscellaneous tips
   Switch back to XYLayout for major adjustments
   Remove weights and fill before making adjustments
   Making existing GridBagLayout code visually designable
GridBagConstraints
   anchor
   fill
   insets
   gridwidth, gridheight
   ipadx, ipady
   gridx, gridy
   weightx, weighty
   Examples of weight constraints

Chapter 7: Compiling, running, and debugging tutorial
About this tutorial
   Overview
Step 1: Opening the sample project
Step 2: Fixing syntax errors
   Saving files and running the program
Step 3: Fixing compiler errors
   Saving files and running the program
Step 4: Fixing the subtractValues() method
   Saving files and running the program
Step 5: Fixing the divideValues() method
   Saving files and running the program
Step 6: Fixing the oddEven() method
Step 7: Finding runtime exceptions

Chapter 8: Remote debugging tutorial
About this tutorial
   Overview
Step 1: Opening the sample project
Step 2: Setting runtime and debug configurations
Step 3: Setting breakpoints
Step 4: Compiling the server and copying server class files to the remote computer
Step 5: Starting the RMI Registry and server on the remote computer
Step 6: Starting the server process and the client in debug mode and stepping into the cross-process breakpoint

Chapter 9: Version control tutorial
About this tutorial
   Definitions
Lesson 1: Using CVS in JBuilder
   Step 1: Creating a local repository
   Step 2: Setting up the project
   Step 3: Configuring version control
   Step 4: Creating a module
   Step 5: Committing file changes
   Step 6: Checking out an existing module
   Step 7: Updating a project
   Step 8: Committing a project
Lesson 2: Using the history view
   Step 1: Setting up
   Step 2: Generating multiple versions of a file
   Step 3: Using the Contents page
   Step 4: Using the Info page
   Step 5: Using the Diff page




© 1997, 2000 by INPRISE Corporation, Inc.
All Rights Reserved