Table of Contents


Simplicity Professional i
Table of

CHAPTER 1 Installation

System
Java Virtual Machine
Minimum System Requirements
Suggested Minimum System Features
Installing
Windows (95/98/ME/NT/2000/XP)
Mac OS Classic (7.6-9)
Mac OS X
OS/2 Warp
Linux, Solaris, AIX, IRIX, SCO UnixWare, and Other Unix
Starting Simplicity
ClassPath
Starting Simplicity Professional
Platform Specific
OS/2 Warp
Linux
Mac OS 8.5, 9.0
Solaris
SCO UnixWare
The Personal Settings
Linux, Solaris, SCO UnixWare, and other Unix
Windows, MacOS, and OS/2
Files in the Personal Settings Directory
Technical Support and
Technical Support
Feedback

CHAPTER 2 Tutorial 1 - Introduction to Simplicity Professional

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

CHAPTER 3 Tutorial 2 - Using Simplicity Professional's Database Tools

A Database
Open a project
Create the user interface
Create the layout
Set up the database connection
Set up a database search
Displaying database results
Create a better database interface
Mapping Tables and Lists to the database
Adding a search feature to the application
Creating a second database query
Mapping the second query
Fun with Swing Look & Feels
Finishing up

CHAPTER 4 Tutorial 3 - Servlets and JDBC

A Simple
Open a project
Create an HTML Form
Creating a Servlet
Program the Servlet
A Servlet which connects to a
Setting up the Servlet
Create the database query
Respond to database query
Creating a Servlet which uses
Preparing a Servlet to use Templates
Finishing up

CHAPTER 5 Integrated Design Environment

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

CHAPTER 6 Java Source Code Editor

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

CHAPTER 7 Composers

Creating a new
Types of Composers
The Composer
Composer Button Bar
File Menu
Program Menu
Code Menu
Parts Menu
Property
Notebook pages
Code

CHAPTER 8 Object Palette

Assembling A Program Using The Object
Object Palette
Working Model
Object Palette Pages
Layout
Border Layout
Flow Layout
Grid Layout
GridBag Layout
Card Layout
Extended
Tabbed Card Layout
Left Side Layout
Right Side Layout
Bottom Layout
Top Layout
ScrollPane Layout
Absolute Layout
AWT
Label
Checkbox
Radio Button
Button
Text Field
Choice
List
Text Area
Scrollbar
Extended
Spacer
Inset Sizer
Validated Text Field
Wrap Label
Image Button
Image Canvas
Group Box
Progress Bar
Flyer
Frame Animator
Swing
Button (JButton)
Toggle (JToggleButton)
CheckBox (JCheckBox)
RadioButton (JRadioButton)
Label (JLabel)
ComboBox (JComboBox)
List (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 Professional
Using Beans
The Working
Frames
Building Layouts

CHAPTER 9 Code Sourcerer

Using the Code
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
Servlet Operations
Template Operations
JDBC Operations
Database Editor Operations
SQL
Search for rows from a database table
Add rows to a database table
Modify rows in a database table
Delete rows from a database table

CHAPTER 10 Canvas Composer

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

CHAPTER 11 Servlet and HttpServlet Composers

Creating a new Servlet or HttpServlet Composer
The Servlet Composer
Servlet Property Notebooks
Servlet Methods
Differences between Servlets and HttpServlets
The ServletRequest
Request Information
Request Headers
Form Variables

CHAPTER 12 HTML Form Editor

The Form
Name
Type
Value
Label
Other Elements of the Form Editor

CHAPTER 13 The Database Editor

Connecting to a
JDBC driver
URL of database
Connection Options
Building SQL
The Schema Tree
The Statement area
The ResultSet Area
User Interface
Database actions
Column Names
Properties
Variables
Apply changes
Advanced options - Programmable

CHAPTER 14 Java Command Window

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

CHAPTER 15 Debugger

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

CHAPTER 16 Remote Testing Tool

Broadcasting an application from the development workstation
Configuring the testing workstation

CHAPTER 17 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

CHAPTER 18 Supplemental Tutorial A- Programming with Simplicity Professional

A Bank Account
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 19 Supplemental Tutorial B - Using JavaBeansTM and Swing

A Thermostat
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 20 Supplemental Tutorial C - Advanced Swing and JDBC

A Database
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 21 Supplemental Tutorial D- Using the Canvas Composer

A Traffic Light
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
Index