Table of Contents
Table of Contents
Simplicity for Java 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.0)
Mac OS X
OS/2 Warp
Linux, Solaris, AIX, IRIX, SCO UnixWare, and Other Unix
Starting Simplicity for
ClassPath
Starting Simplicity for Java
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 for Java
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 Supplemental Tutorial A- Programming with Simplicity for Java
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 4 Supplemental Tutorial B - Using JavaBeans
TM
and Swing
A Thermostat
Open a project
View the finished application
Importing JavaBeans
TM
Creating the Thermostat application
Create the layout
Working with JavaBeans
Creating a Swing Application
Finishing up
CHAPTER 5 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 6 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
CHAPTER 7 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 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
Types of Composers
The Composer
Composer Button Bar
File Menu
Program Menu
Code Menu
Parts Menu
Property
Notebook pages
Code
CHAPTER 10 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 for Java
Using Beans
The Working
Frames
Building Layouts
CHAPTER 11 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
CHAPTER 12 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 13 Java Command Window
Using The Java Command
Command Input
Local Symbol Table
Command History
The Three Java Command Window
IDE
Composer
Debugger
CHAPTER 14 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 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
Data Representations, Inc.
http://www.datarepresentations.com
support@datarepresentations.com
sales@datarepresentations.com