Table of Contents

Simplicity for Java
Table of Contents

CHAPTER 1 Installation

System Requirements
Java Virtual Machine
Minimum System Requirements
Suggested Minimum System Features
Installing
Windows (95/98/NT)
Mac OS
OS/2 Warp
Linux, Solaris, AIX, IRIX, SCO UnixWare, and Other Unix
Starting Simplicity for Java
ClassPath
Starting Simplicity for Java
Platform Specific Notes
Windows NT 4.0
OS/2 Warp
Linux
Macintosh
Solaris
SCO UnixWare
The Personal Settings Directory
Linux, Solaris, SCO UnixWare, and other Unix
Windows, MacOS, and OS/2
Files in the Personal Settings Directory
Technical Support and Feedback
Technical Support
Feedback

CHAPTER 2 Tutorial 1 - Introduction to Simplicity

A Simple Text Editor
Open a project
Create a new Application
Assemble the GUI
Cleaning up
Responding to events
Completing the program

CHAPTER 3 Tutorial 2 - Programming with Simplicity

A Bank Account Application
Open a project
View the finished application
Creating the Transaction Window
Using the GridBag Layout
Adding code
Test the Transaction Dialog
Creating the Bank Account application
Create the layout
Deposits and Withdrawals
Print a receipt
Email a receipt
Finishing up

CHAPTER 4 Tutorial 3 - Using JavaBeansTM and Swing

A Thermostat Application
Open a project
View the finished application
Importing JavaBeansTM
Creating the Thermostat application
Create the layout
Working with JavaBeans
Creating a Swing Application
Finishing up

CHAPTER 5 Tutorial 4 - Advanced Swing and JDBC

A Database Application
Open a project
Creating the Database application
Create the layout
Using JDBC (Java Database Connectivity)
Creating a TableModel
Working with SQL queries
Finishing up

CHAPTER 6 Tutorial 5 - Using the Canvas Composer

A Traffic Light JavaBean
Open a project
Creating the Traffic Light
Set the Size of the Canvas
Set up initial variables.
Drawing the Traffic Light
Light changing methods
Creating the main application
Finishing up

CHAPTER 7 Integrated Design Environment

The IDE Window
The Classpath
The Folders area
Using the Classpath and the Folders area
Project Groups
Editing parts of the Project Tree
Editing Groups using the IDE Group Editor
Editing The Classpath
Editing The Folders area
Opening items in the Group Contents Box
IDE Menu Bar
IDE Button Bar
File Menu
Edit Menu
Create Menu
Import Menu
Project Menu
Help Menu
Program Settings
Directories
External Editors
Object Palette
Java Editor
Printing

CHAPTER 8 Java Source Code Editor

Editing
File Menu
Edit Menu
Indentation Features
Color and Printing Features
Search & Replace
The Sourcerer's Apprentice

CHAPTER 9 Composers

Creating a New Composer
Types of Composers
The Composer Window
Composer Button Bar
File Menu
Program Menu
Code Menu
Parts Menu
Property Notebooks
Notebook pages
Code Generation

CHAPTER 10 Object Palette

Assembling A Program Using The Object Palette
Object Palette
Working Model
Object Palette Pages
Layout Parts
Border Layout
Flow Layout
Grid Layout
GridBag Layout
Card Layout
Tabbed Card Layout
Left Side Layout
Bottom Layout
ScrollPane Layout
Absolute Layout
Basic Parts
Label
Checkbox
Radio Button
Button
Text Field
Choice
Listbox
Text Area
Scrollbar
Extended Parts
Spacer
Inset Sizer
Validated Text Field
Wrap Label
Image Button
Image Canvas
Group Box
Progress Bar
Flyer
Frame Animator
Swing 1 &
Button (JButton)
Toggle (JToggleButton)
CheckBox (JCheckBox)
RadioButton (JRadioButton)
Label (JLabel)
ComboBox (JComboBox)
Listbox (JList)
Slider (JSlider)
ScrollBar (JScrollBar)
ProgressBar (JProgressBar)
TextField (JTextField)
TextArea (JTextArea)
PasswordField (JPasswordField)
EditorPane (JEditorPane)
TextPane (JTextPane)
ScrollPane (JScrollPane)
SplitPane (JSplitPane)
TabbedPane (JTabbedPane)
ToolBar (JToolBar)
Tree (JTree)
Table (JTable)
Menus
MenuBar (JMenuBar)
Menu (JMenu)
MenuItem (JMenuItem)
CheckBoxMenuItem (JCheckBoxMenuItem)
RadioButtonMenuItem (JRadioButtonMenuItem)
Separator (JSeparator)
JavaBeans
Importing Beans into Simplicity
Using Beans
The Working Model
Frames
Building Layouts

CHAPTER 11 Code Sourcerer

Using the Code Sourcerer
Change a property of an existing part
Ask a part about one of its properties
Declare a new variable
Applet-only operations
File operations
Printing operations
Window operations
Java system operations
Network operations (TCP and UDP)
TCP operations
Miscellaneous
Java Language statements

CHAPTER 12 Canvas Composer

Creating a new Canvas Composer
The Composer Window for a Canvas object
Canvas Property Notebooks
Canvas Working Model
Canvas Palette Pages
Graphics Parts
Oval
Filled Oval
Arc
Filled Arc
Rectangle
Filled Rectangle
Line
Round Rectangle
Filled Round Rectangle
Text
Image
Effects Parts
Set Clipping
Translate
Choose Font
Color Parts
Choose a Color
Black, Blue, Cyan, etc.

CHAPTER 13 Java Command Window

Using The Java Command Window
Command Input
Local Symbol Table
Command History
The Three Java Command Window Contexts
IDE
Composer
Debugger

CHAPTER 14 Debugger

Starting the Debugger
The Debugger Window
Available classes and methods
Breakpoints
Threads
Execution Stack
Source Viewer
Variables List
Command Buttons
Java Command Window
Run program
Load classes

CHAPTER 15 Advanced Features - Extending the IDE

Extending the
The IDEmenu.config file
MenuBar
Menu
MenuItem
Separator
Action
Samples of the extended
Adding a command to the help menu
Adding a new action
Modifying existing actions
A Complex Action
Index