Introduction
Documentation conventions
Compiling Java programs
Overview of compiling
Smart Dependencies Checking
Types of compiling
The Make command
The Rebuild command
Compiling a program
Problems compiling imported projects
Checking for package/directory correspondence
Selectively compiling stable packages
Making stable packages
Setting compiler options
The scope of project-wide settings
Adding symbolic debug information
Compiling from the command line
bmj
bcj
Switching between the command line and IDE
Running applets
Running applets from the command line
Debugging Java programs
Overview of the debugging process
Compiling the project and starting the Debugger
Setting breakpoints and stepping through your code
Editing and recompiling
Types of errors
Runtime errors
Logic errors
Starting a debugging session
Compiling with debugging information
Running your program
Sending command-line arguments to your program
Debugging applets
Using an HTML file to store arguments
Switching to debugging another project
Controlling program execution
The execution point
Finding the execution point
Moving through code
Tracing into a method call
Stepping over a method call
Running and pausing your program
Running to a breakpoint
Running to the end of a method
Running to the cursor location
Restarting the program
Viewing method calls
Showing where a method was called
Viewing the Execution Log
Enabling and disabling tracing into classes
Example
Restarting the Debugger to update the Tracing Enabled settings
Trickling of the Tracing Enabled settings through the class hierarchy
Setting Trace Into for classes that have not been loaded
Tracing into classes with no source available
Quickly disabling Trace Into for the main libraries
Breakpoints and tracing disabled settings
Using breakpoints
Setting breakpoints
Setting breakpoints after starting a program
Valid and invalid breakpoints
Resolving invalid breakpoints
Viewing the breakpoint list
Disabling and enabling breakpoints
Deleting breakpoints
Viewing code at a breakpoint
Locating breakpoints
Modifying breakpoint options
Creating conditional breakpoints
Setting the breakpoint condition
Using pass count breakpoints
Using exception breakpoints
Using breakpoint groups
Creating and deleting breakpoint groups
Disabling or enabling a breakpoint group
Examining program data values
Inspecting data elements
Location of class and instance variable display
Watching expressions
Editing a watch
Deleting a watch
Using the Debugger Context Browser as a Debugger pane
Evaluating and modifying expressions
Evaluating expressions
Specifying a property to view
Changing the display format of expressions
Modifying the values of variables
Expression format specifiers for the Evaluate/Modify dialog box
Customizing the Debugger
Resizing the panes
Splitting a single pane into two panes
Controlling what is displayed in the panes
Setting the grouping within the Structure pane
Customizing the Debugger colors
Using layout managers
About layout managers
Understanding layout properties
Understanding layout constraints
Examples of layout properties and constraints
Selecting a new layout for a container
Modifying layout properties
Modifying component layout constraints
Understanding sizing properties
Determining the size and location of your UI window at runtime
Sizing a window automatically with pack()
How preferredSize is calculated for a container
Explicitly setting the size of a window using setSize()
Making the size of your UI portable to various platforms
Positioning a window on the screen
Placing the sizing and positioning method calls in your code
Adding custom layout managers
Layouts provided by JBuilder
XYLayout
Aligning components in XYLayout
Alignment options for XYLayout
Null
BorderLayout
FlowLayout
VerticalFlowLayout
BoxLayout2
GridLayout
CardLayout
Creating a CardLayout container in the UI Designer
Creating controls to change the CardLayout panels
Specifying the gap surrounding a CardLayout container
OverlayLayout2
GridBagLayout
About GridBagConstraints
Setting GridBagConstraints manually in the source code
Modifying existing GridBagLayout code to work in the UI Designer
Designing GridBagLayout visually in the UI Designer
Setting GridBagConstraints in the Constraints property editor
Displaying the grid
Using the mouse to change constraints
Using the GridBagLayout pop-up menu
GridBagConstraints
Sample GridBagLayout source code
PaneLayout
PaneConstraint variables
How components are added to PaneLayout
Creating a PaneLayout container in the UI Designer
Modifying the component location and size in the Inspector
Changing the width of the splitter bar
Prototyping your UI
Use XYLayout for prototyping
Design the big regions first
Save before experimenting
Using nested panels and layouts
Tutorial: Creating a UI with nested layouts
Working with advanced components
Using a TabsetPanel
Using a TabsetControl
Using a ButtonBar
Creating the buttons on a ButtonBar
Specifying images for a ButtonBar
Creating ButtonBar events
SplitPanel
Deploying Java Programs
Introduction
Deployment quicksteps
Bean deployment quicksteps
Application deployment quicksteps
Applet deployment quicksteps
Deployment issues
Is this an applet or an application?
Does your program rely on JDK 1.1 features?
Is the target user an Intranet user, an Internet user, or both?
Does the user already have Java libraries installed locally?
Download time
Preparing a Java program for deployment
How JBuilder constructs paths
Source Path
Out Path
Class Path
Browse Path
The Deployment Wizard
Deploying resources and late-bound classes
Deploying Java applications
JRE and JREW
A simple deployment example:
Deploying applets
Setting up your working environment
Example applet project
Deploying JDK 1.1 applets as archives
Deploying JDK 1.1 applets as .class files
Internet deployment
Building and and deploying a 1.0.2 applet for a 1.0.2 browser
Archiving your project
About Java archive (JAR) files
Using a JAR file from the command line
Creating an archive file
About the manifest file
Using PKWare-compatible tools to look at JAR files
Using jar.exe to look at JAR files
Redistribution of classes supplied with JBuilder
Where to find additional information
The just-in-time compiler (JIT)
About the JIT
Disabling the JIT
Internationalizing with JBuilder
Internationalization terms and definitions
Internationalization features in JBuilder
Multilingual Sample Application
Eliminating hard-coded strings using the Resource wizard
JBCL internationalization features
Using locale-sensitive JBCL components
JBCL components can display any Unicode character
Internationalization features in the UI Designer
Unicode in the IDE Debugger
Specifying a native encoding for the compiler
Native encodings supported
More about native encodings
The 16-bit Unicode format
Unicode support using ASCII and '\u'
JBuilder Around the World
Online internationalization support
Using the command-line tools
Setting environment variables for command-line tools
Setting the DOS environment space
bcj command-line compiler
Syntax
Description
Options
bmj command-line compiler
Sytax
Description
Options
Specifiers for root classes
About MAKE
MAKE Basics
Default MAKE actions
BUILTINS.MAK
About makefiles
Symbolic targets
Rules for symbolic targets
MAKE options
Using temporary response files
Compatibility with Microsoft's NMAKE
Explicit and implicit rules
Explicit rule syntax
Single targets with multiple rules
Implicit rule syntax
Explicit rules with implicit commands
Command syntax
Command prefixes
Using @
Using -num and -
Using &
MAKE command operators
Using MAKE macros
Defining MAKE macros
String substitutions in MAKE macros
Default MAKE macros
Modifying default MAKE macros
Using MAKE directives
.autodepend
!error
Error-checking controls
!if and other conditional directives
!include
!message
.path.ext
.precious
.suffixes
!undef
Using macros in directives
Null macros
GREP: A Text-Search Utility
GREP: Command-Line Syntax
Redirecting Output from GREP
GREP: Command-Line Options
GREP: The Search String
GREP: File Specifications
GREP: Examples
GREP: Example 1
GREP: Example 2
GREP: Example 3
GREP: Example 4
GREP: Example 5
Using TOUCH
TOUCH options
How do I
Compile Java programs
Debug Java programs
Select a layout for a container
Modify layout properties
Modify component layout constraints
Set the runtime size and location of a UI container
Automatically set the runtime size of a UI container
Explicitly set the size of a UI container
Position the UI on the screen
Use CardLayout in the UI Designer
Create controls to change panels in a CardLayout
Use GridBagLayout
Create a TabSetPanel
Use a TabsetControl
Use a ButtonBar
Use the bcj command-line compiler
Use the bmj command-line compiler