JClass BWT Programmer's Guide & Reference Manual
Version 2.0 and 2.0T
GUI Components for Real World Java Development
JCLASS STANDARD LICENSE AGREEMENT
Important -- Read Carefully Before Using Software Package(s)
SOFTWARE LICENSE
LIMITED WARRANTY
U.S. GOVERNMENT RESTRICTED RIGHTS
Preface
Assumptions
Typographical Conventions Used in this Manual
Overview of Manual
Related Documents
Installing JClass BWT
Before You Begin
JDK 1.0.2 and JDK 1.1
Determining the JDK and JClass BWT Version
Minimum Requirements
Installation and File Descriptions
The -classes.zip Archive
JClass BWT Overview
Introduction
Setting CLASSPATH
Windows 95
Windows NT (3.51 and higher)
Compiling a Program
Using HTML Files to Set Properties
Distributing JClass BWT Applications
Technical Support and Feedback
Technical Support Plans
How to Get Technical Support
JClass Support Newsgroup
Request for Comments
1 JCLabel and JCButton
Introduction
Behavior
Keyboard Traversal
Sample Program Code
Specifying an Image
Text and Image Positioning
Specifying the JCButton Arm Label
Events
Property Listing
jclass.bwt.JCButton
jclass.bwt.JCLabel
Example Programs
2 JCCheckbox and JCCheckboxGroup
Introduction
Behavior
Keyboard Traversal
Sample Program Code
Button Styles
State Indicators
Multiple States
Setting Button Colors
Events
Property Listing
jclass.bwt.JCCheckbox
jclass.bwt.JCCheckboxGroup
Example Program
3 JCTabButton and JCTabManager
Introduction
Behavior
Sample Program Code
Changing the Active Tab
Tab Events
Controlling Tab Display
Tab Resizing
Tab Stretching
Tab Shape
Tab Color
Tab Placement
Tab Button Properties
Altering the Tab Button Font
Adding an Image to a Tab Button
Text and Pixmap Positioning
Specifying Tab Button and Page Colors
Events
Property Listing
jclass.bwt.JCTabManager
Example Program
4 JCScrolledWindow
Introduction
Behavior
Keyboard Traversal
Sample Program Code
Scrollbar Properties
Setting FilterTime for Scroll Events
Property Listing
jclass.bwt.JCScrolledWindow
Example Program
5 JCList and JCMultiColumnList
Introduction
Behavior
Keyboard traversal
Sample Program Code
Enabling Multiple Selections
Setting Row Height and Spacing
Row and Column Visibility
Setting Selection Colors
Scrollbar Display
Column Settings
Events
Property Listing
jclass.bwt.JCList
jclass.bwt.JCMultiColumnList
Example Programs
6 JCOutliner
Introduction
Behavior
Keyboard traversal
Concepts
Sample Program Code
Color and Fonts Properties
Outliner Sizing
Column and Row Display Properties
Row and Column Visibility
Scrollbar Properties
Setting the Selection Mode
Node Properties
Folder Appearance
Events
Property Listing
jclass.bwt.JCOutliner
Example Program
7 JCTextComponent, JCTextArea and JCTextField
Introduction
Behavior
Keyboard Traversal
Sample Program Code
Display Properties
Scrollbar Display
Text Display
Setting the Default Text
Text Alignment
Text Case
Text Color and Font
User Interaction
Selection Properties
Highlight Properties
TopCharacter and TopRow Properties
Events
Property Listing
jclass.bwt.JCTextComponent
jclass.bwt.JCTextArea
jclass.bwt.JCTextField
Example Programs
8 JCArrowButton
Introduction
Behavior
Keyboard Traversal
Sample Program Code
Specifying JCArrowButton Actions
Sizing the Arrow
Arrow Button Orientation
Button Sensitivity
Property Listing
jclass.bwt.JCArrowButton
Example Program
9 JCComboBox
Introduction
Behavior
Keyboard Traversal
Sample Program Code
Setting Combobox Style
Combobox Appearance
Combobox Sizing
Events
Property Listing
jclass.bwt.JCComboBox
Example Program
10 JCSpinBox and JCSpinBoxString
Introduction
Behavior
Keyboard Traversal
Sample Program Code
Defining a Numerical Range
Defining a Text Range
Arrow Button Actions
SpinBox and SpinBoxString Appearance
SpinBox and SpinBoxString Sizing
Events
Property Listing
jclass.bwt.JCSpinBox
jclass.bwt.JCSpinBoxString
Example Program
11 JCProgressMeter
Introduction
Behavior
Keyboard Traversal
Sample Program Code
Label and Range
The Progress Percentage
Label Display
Suppressing Label Display
Type of Label Display
Label Width and Positioning
Label Font
Label Color
Bar Display
Bar Type and Spacing
Bar Color
Property Listing
jclass.bwt.JCProgressMeter
Example Program
12 JCSlider
Introduction
Behavior
Keyboard Traversal
Sample Program Code
Slider Orientation
Setting Slider Size
Setting Slider Values
Setting Label Values
Tick Marks and Page Increments
Property Listing
jclass.bwt.JCSlider
Example Program
13 JCSplitterWindow and JCSeparator
Introduction
Behavior
Keyboard Traversal
Sample Program Code
Orientation
JCSplitterWindow Size Characteristics
JCSeparator Size Characteristics
JCSeparator Orientation
Property Listing
jclass.bwt.JCSeparator
jclass.bwt.JCSplitterWindow
Example Program
14 JCAlignerLayout
Introduction
Sample Program
Aligning Labels
Resizing Height and Width
Example Programs
15 JCScrollbar
Introduction
Behavior
Keyboard Traversal
Sample Program Code
Specifying Orientation
Controlling Scroll Increments
Setting Scrollbar Size
Handling Scroll Events
Events
Property Listing
jclass.bwt.JCScrollbar
Example Program
Appendix A Colors and Fonts
Colorname Values
RGB Color Values
Fonts
Appendix B JCString Properties
Alignment
Color
Fonts
Horizontal and Vertical Spacing
Hypertext
Images
Reset
Strikethrough text
Underlined text
Appendix C JClass BWT Event Summary
Event Summary Table
AWT 1.0 Event Conversion Table
BWT 1.0 Callback Conversion Table
JClass BWT API Reference Documentation
jclass.bwt Package
jclass.util Package
jclass.contrib Package