Table of Contents

Simplicity Professional
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 Professional
ClassPath
Starting Simplicity Professional
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 Tutorial 6 - Using Simplicity Professional's Database Tools

A Database Application
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 more complex database interface
Add more elements to the layout
Mapping Tables and Lists to the database
Adding another query to the application
Creating a second database query
Mapping a complex query
Finishing up

CHAPTER 8 Tutorial 7 - Servlets and JDBC

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

CHAPTER 9 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 10 Java Source Code Editor

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

CHAPTER 11 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 12 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 13 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
Servlet Operations
Template Operations
JDBC Operations
SQL Sourcerer
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 14 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 15 Servlet and HttpServlet Composers

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

CHAPTER 16 HTML Form Editor

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

CHAPTER 17 The Database Editor

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

CHAPTER 18 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 19 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 20 Remote Testing Tool

Broadcasting an application from the development workstation
Configuring the testing workstation

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