added documentation
diff --git a/examples/org.eclipse.swt.examples.controls/doc-html/hglegal.htm b/examples/org.eclipse.swt.examples.controls/doc-html/hglegal.htm
new file mode 100755
index 0000000..b071dbd
--- /dev/null
+++ b/examples/org.eclipse.swt.examples.controls/doc-html/hglegal.htm
@@ -0,0 +1,14 @@
+<!doctype html public "-//w3c//dtd html 4.0 transitional//en">

+<html>

+<head>

+   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

+   <meta name="GENERATOR" content="Mozilla/4.73 [en] (Win98; U) [Netscape]">

+   <title>Legal Notices</title>

+</head>

+<body>

+

+<h3>

+<a NAME="Notices"></a>Notices</h3>

+(c) Copyright IBM Corp. 2000, 2001. All Rights Reserved.

+</body>

+</html>

diff --git a/examples/org.eclipse.swt.examples.controls/doc-html/ngibmcpy.gif b/examples/org.eclipse.swt.examples.controls/doc-html/ngibmcpy.gif
new file mode 100755
index 0000000..360f8e9
--- /dev/null
+++ b/examples/org.eclipse.swt.examples.controls/doc-html/ngibmcpy.gif
Binary files differ
diff --git a/examples/org.eclipse.swt.examples.controls/doc-html/swt_controls_ex.html b/examples/org.eclipse.swt.examples.controls/doc-html/swt_controls_ex.html
new file mode 100755
index 0000000..6689081
--- /dev/null
+++ b/examples/org.eclipse.swt.examples.controls/doc-html/swt_controls_ex.html
@@ -0,0 +1,32 @@
+<!doctype html public "-//w3c//dtd html 4.0 transitional//en">

+<html>

+<head>

+   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

+   <title>SWT - Controls Example</title>

+</head>

+<body>

+

+<h2>

+<b>Example - SWT Controls</b></h2>

+

+<h3>

+Introduction</h3>

+This example is a simple demonstration of common Standard Widget Toolkit

+(SWT) UI controls.&nbsp; It consists of a shell and tab folder where each

+tab in the folder allows the user to interact with a control.

+<h3>

+Running the example</h3>

+To run the Controls Example, pull down the Perspective menu, select the

+Show View menu item, then select Other from the submenu.&nbsp; A dialog

+will come up with a list of views.&nbsp; Expand SWT Examples and select

+the view named Controls.&nbsp; A view containing a number of tabbed pages

+will appear.

+<h3>

+Details</h3>

+Each page (tab) of the controls example allows the user to interact with

+a different SWT control.&nbsp; The name of the control being demonstrated

+on each page is on the tab.

+<br>&nbsp;

+<p><a href="hglegal.htm"><img SRC="ngibmcpy.gif" ALT="Copyright IBM Corporation 2000" BORDER=0 height=12 width=195></a>

+</body>

+</html>

diff --git a/examples/org.eclipse.swt.examples.controls/plugin.properties b/examples/org.eclipse.swt.examples.controls/plugin.properties
index 711bc07..736289d 100755
--- a/examples/org.eclipse.swt.examples.controls/plugin.properties
+++ b/examples/org.eclipse.swt.examples.controls/plugin.properties
@@ -6,7 +6,7 @@
 launchcategory.SWTViewExamples.description = A collection of Standard Widget Toolkit examples that run as Views inside the Eclipse Platform.  These examples will create a new View in the current Perspective.
 
 launchitem.ControlsExample.name = Controls
-launchitem.ControlsExample.description = This example is a simple demonstration of common Standard Widget Toolkip (SWT) UI controls.  It consists of a shell and tab folder where each tab in the folder allows the user to interact with a control.
+launchitem.ControlsExample.description = This example is a simple demonstration of common Standard Widget Toolkit (SWT) UI controls.  It consists of a shell and tab folder where each tab in the folder allows the user to interact with a control.  Each page (tab) of the controls example allows the user to interact with a different SWT control.&nbsp; The name of the control being demonstrated on each page is on the tab.
 
 error.CouldNotLoadResources = Unable to load resources
 
diff --git a/examples/org.eclipse.swt.examples.launcher/doc-html/hglegal.htm b/examples/org.eclipse.swt.examples.launcher/doc-html/hglegal.htm
new file mode 100755
index 0000000..b071dbd
--- /dev/null
+++ b/examples/org.eclipse.swt.examples.launcher/doc-html/hglegal.htm
@@ -0,0 +1,14 @@
+<!doctype html public "-//w3c//dtd html 4.0 transitional//en">

+<html>

+<head>

+   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

+   <meta name="GENERATOR" content="Mozilla/4.73 [en] (Win98; U) [Netscape]">

+   <title>Legal Notices</title>

+</head>

+<body>

+

+<h3>

+<a NAME="Notices"></a>Notices</h3>

+(c) Copyright IBM Corp. 2000, 2001. All Rights Reserved.

+</body>

+</html>

diff --git a/examples/org.eclipse.swt.examples.launcher/doc-html/ngibmcpy.gif b/examples/org.eclipse.swt.examples.launcher/doc-html/ngibmcpy.gif
new file mode 100755
index 0000000..360f8e9
--- /dev/null
+++ b/examples/org.eclipse.swt.examples.launcher/doc-html/ngibmcpy.gif
Binary files differ
diff --git a/examples/org.eclipse.swt.examples.launcher/doc-html/swt_launcher_ex.html b/examples/org.eclipse.swt.examples.launcher/doc-html/swt_launcher_ex.html
new file mode 100755
index 0000000..96d07fd
--- /dev/null
+++ b/examples/org.eclipse.swt.examples.launcher/doc-html/swt_launcher_ex.html
@@ -0,0 +1,43 @@
+<!doctype html public "-//w3c//dtd html 4.0 transitional//en">

+<html>

+<head>

+   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

+   <title>SWT - Example Launcher</title>

+</head>

+<body>

+

+<h2>

+<b>Example - Example Launcher</b></h2>

+

+<h3>

+Introduction</h3>

+This example serves as a launchpad for accessing the SWT examples in the system.

+It also informally demonstrates a mechanism for opening views and launching applications

+programmatically from within the Eclipse Platform.

+<br>&nbsp;

+<h3>

+Running the example</h3>

+To run the Controls Example, pull down the Perspective menu, select the

+Show View menu item, then select Other from the submenu.&nbsp; A dialog

+will come up with a list of views.&nbsp; Expand SWT Examples and select

+the view named Launcher.&nbsp; A view containing a list of examples to

+choose will appear.

+<br>&nbsp;

+<h3>

+Details</h3>

+The example launcher view contains a tree list, a text area, and 2 buttons.

+<p>The tree list contains a list of all the SWT examples you can choose

+to run.&nbsp; When an example is selected from the tree, the text area

+shows a short description of each example.&nbsp; The selected example can

+be executed by clicking on the Run button, which can be found just below

+the tree list.&nbsp; For some of the examples, you can add the example

+code to a project in the Workspace.&nbsp; A project, with a name specified

+by the user, is created and all the java classes required to run that example

+will be added to that newly created project.

+</p><p>

+Depending on the configuration of your system, it may be necessary to alter

+the build paths or to define classpath variables in order to locate Eclipse Platformcomponents.

+<br>&nbsp;

+<p><a href="hglegal.htm"><img SRC="ngibmcpy.gif" ALT="Copyright IBM Corporation 2000" BORDER=0 height=12 width=195></a>

+</body>

+</html>

diff --git a/examples/org.eclipse.swt.examples.launcher/plugin.properties b/examples/org.eclipse.swt.examples.launcher/plugin.properties
index 10811ea..5c2bde8 100755
--- a/examples/org.eclipse.swt.examples.launcher/plugin.properties
+++ b/examples/org.eclipse.swt.examples.launcher/plugin.properties
@@ -6,7 +6,7 @@
 launchcategory.SWTViewExamples.description = A collection of Standard Widget Toolkit examples that run as Views inside the Eclipse Platform.  These examples will create a new View in the current Perspective.

 

 launchitem.LauncherExample.name = Launcher

-launchitem.LauncherExample.description = This example demontrates a mechanism for opening views and launching applications from within Eclipse. It also serves as a launchpad for accessing the SWT examples in the system.

+launchitem.LauncherExample.description = It also informally demonstrates a mechanism for opening views and launching applications programmatically from within the Eclipse Platform.  The example launcher view contains a tree list, a text area, and 2 buttons.  The tree list contains a list of all the SWT examples you can choose to run.  When an example is selected from the tree, the text area shows a short description of each example.  The selected example can be executed by clicking on the Run button, which can be found just below the tree list.  For some of the examples, you can add the example code to a project in the Workspace.  A project, with a name specified by the user, is created and all the java classes required to run that example will be added to that newly created project.  Depending on the configuration of your system, it may be necessary to alter the build paths or to define classpath variables in order to locate Eclipse Platform components.

 

 error.CouldNotLoadResources = Unable to load resources

 error.IncompleteProgramLaunchItem = Incomplete XML ProgramLaunchItem definition

diff --git a/examples/org.eclipse.swt.examples.ole.win32/doc-html/hglegal.htm b/examples/org.eclipse.swt.examples.ole.win32/doc-html/hglegal.htm
new file mode 100755
index 0000000..b071dbd
--- /dev/null
+++ b/examples/org.eclipse.swt.examples.ole.win32/doc-html/hglegal.htm
@@ -0,0 +1,14 @@
+<!doctype html public "-//w3c//dtd html 4.0 transitional//en">

+<html>

+<head>

+   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

+   <meta name="GENERATOR" content="Mozilla/4.73 [en] (Win98; U) [Netscape]">

+   <title>Legal Notices</title>

+</head>

+<body>

+

+<h3>

+<a NAME="Notices"></a>Notices</h3>

+(c) Copyright IBM Corp. 2000, 2001. All Rights Reserved.

+</body>

+</html>

diff --git a/examples/org.eclipse.swt.examples.ole.win32/doc-html/ngibmcpy.gif b/examples/org.eclipse.swt.examples.ole.win32/doc-html/ngibmcpy.gif
new file mode 100755
index 0000000..360f8e9
--- /dev/null
+++ b/examples/org.eclipse.swt.examples.ole.win32/doc-html/ngibmcpy.gif
Binary files differ
diff --git a/examples/org.eclipse.swt.examples.ole.win32/doc-html/swt_ole_ex.html b/examples/org.eclipse.swt.examples.ole.win32/doc-html/swt_ole_ex.html
new file mode 100755
index 0000000..645f94f
--- /dev/null
+++ b/examples/org.eclipse.swt.examples.ole.win32/doc-html/swt_ole_ex.html
@@ -0,0 +1,41 @@
+<!doctype html public "-//w3c//dtd html 4.0 transitional//en">

+<html>

+<head>

+   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

+   <title>SWT - OLE Web Browser</title>

+</head>

+<body>

+

+<h2>

+<b>Example - OLE Web Browser</b></h2>

+

+<h3>

+Introduction</h3>

+This example demonstrates how to embed Active X / OLE controls into an

+SWT application or an Eclipse view.&nbsp; When the view is activated, it

+will create an instance of a Windows "Shell.Explorer" control and provide

+a GUI interface to it via OLE Automation.&nbsp; To run this example, Internet

+Explorer must be installed.

+<br>&nbsp;

+<h3>

+Running the example</h3>

+To run the Controls Example, pull down the Perspective menu, select the

+Show View menu item, then select Other from the submenu.&nbsp; A dialog

+will come up with a list of views.&nbsp; Expand SWT Examples and select

+the view named OLE Web Browser.&nbsp; A view containing an editor that

+appears similar to your default web browser will appear.

+<br>&nbsp;

+<h3>

+Details</h3>

+The OLE Web Browser has Back and Forward buttons to take you to recently

+visited pages.&nbsp; The browser also contains a Home button to take you

+to the web browser's home page, a Stop button which stops the current transfer,

+a Search button which will search for text typed in the Address text field,

+and a Refresh button which re-draws the contents of the currently displayed

+page.&nbsp; There is also a Go button which, when clicked, will attempt

+to load the page specified in the Address field.&nbsp; One would expect

+each of these operations on every web browser.

+<br>&nbsp;

+<p><a href="hglegal.htm"><img SRC="ngibmcpy.gif" ALT="Copyright IBM Corporation 2000" BORDER=0 height=12 width=195></a>

+</body>

+</html>

diff --git a/examples/org.eclipse.swt.examples.ole.win32/plugin.properties b/examples/org.eclipse.swt.examples.ole.win32/plugin.properties
index cf782e1..737b3cc 100755
--- a/examples/org.eclipse.swt.examples.ole.win32/plugin.properties
+++ b/examples/org.eclipse.swt.examples.ole.win32/plugin.properties
@@ -6,7 +6,7 @@
 launchcategory.SWTWin32OnlyExamples.description = A collection of Standard Widget Toolkit examples for Windows systems only.

 

 launchitem.OLEWebBrowserExample.name = OLE Web Browser

-launchitem.OLEWebBrowserExample.description = This example demonstrates how to embed Active X / OLE controls into an SWT application or an Eclipse view.  When the view is activated, it will create an instance of a Windows "Shell.Explorer" control and provide a GUI interface to it via OLE Automation.  To run this example, Internet Explorer must be installed.

+launchitem.OLEWebBrowserExample.description = This example demonstrates how to embed Active X / OLE controls into an SWT application or an Eclipse view.  When the view is activated, it will create an instance of a Windows "Shell.Explorer" control and provide a GUI interface to it via OLE Automation.  To run this example, Internet Explorer must be installed.  The OLE Web Browser has Back and Forward buttons to take you to recently visited pages.  The browser also contains a Home button to take you to the web browser's home page, a Stop button which stops the current transfer, a Search button which will search for text typed in the Address text field, and a Refresh button which re-draws the contents of the currently displayed page. There is also a Go button which, when clicked, will attempt to load the page specified in the Address field.  One would expect each of these operations on every web browser.

 

 browser.Back.text = Backward

 browser.Back.tooltip = Surf to previously viewed Web site

diff --git a/examples/org.eclipse.swt.examples.paint/doc-html/hglegal.htm b/examples/org.eclipse.swt.examples.paint/doc-html/hglegal.htm
new file mode 100755
index 0000000..b071dbd
--- /dev/null
+++ b/examples/org.eclipse.swt.examples.paint/doc-html/hglegal.htm
@@ -0,0 +1,14 @@
+<!doctype html public "-//w3c//dtd html 4.0 transitional//en">

+<html>

+<head>

+   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

+   <meta name="GENERATOR" content="Mozilla/4.73 [en] (Win98; U) [Netscape]">

+   <title>Legal Notices</title>

+</head>

+<body>

+

+<h3>

+<a NAME="Notices"></a>Notices</h3>

+(c) Copyright IBM Corp. 2000, 2001. All Rights Reserved.

+</body>

+</html>

diff --git a/examples/org.eclipse.swt.examples.paint/doc-html/ngibmcpy.gif b/examples/org.eclipse.swt.examples.paint/doc-html/ngibmcpy.gif
new file mode 100755
index 0000000..360f8e9
--- /dev/null
+++ b/examples/org.eclipse.swt.examples.paint/doc-html/ngibmcpy.gif
Binary files differ
diff --git a/examples/org.eclipse.swt.examples.paint/doc-html/swt_paint_ex.html b/examples/org.eclipse.swt.examples.paint/doc-html/swt_paint_ex.html
new file mode 100755
index 0000000..74d22ba
--- /dev/null
+++ b/examples/org.eclipse.swt.examples.paint/doc-html/swt_paint_ex.html
@@ -0,0 +1,34 @@
+<!doctype html public "-//w3c//dtd html 4.0 transitional//en">

+<html>

+<head>

+   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

+   <title>SWT - Paint Example</title>

+</head>

+<body>

+

+<h2>

+<b>Example - Paint Example</b></h2>

+

+<h3>

+Introduction</h3>

+This example demonstrates the use of SWT graphics operations in the form

+of a rudimentary bitmap painting program.

+<br>&nbsp;

+<h3>

+Running the example</h3>

+To run the Paint Example, pull down the Perspective menu, select the Show

+View menu item, then select Other from the submenu.&nbsp; A dialog will

+come up with a list of views.&nbsp; Expand SWT Examples and select the

+view named Paint.&nbsp; A view containing a drawing area, various toolbar

+buttons, and a color selection palette will appear.

+<br>&nbsp;

+<h3>

+Details</h3>

+Select a tool with which to draw in the drawing area.&nbsp; There are a

+number of tools to choose from on the toolbar.&nbsp; The color selection

+can be changed by clicking on a color in the palette below the drawing area:

+left-click for the foreground color, right-click for the background color.

+<br>&nbsp;

+<p><a href="hglegal.htm"><img SRC="ngibmcpy.gif" ALT="Copyright IBM Corporation 2000" BORDER=0 height=12 width=195></a>

+</body>

+</html>

diff --git a/examples/org.eclipse.swt.examples.paint/plugin.properties b/examples/org.eclipse.swt.examples.paint/plugin.properties
index a3c31ad..d661eef 100755
--- a/examples/org.eclipse.swt.examples.paint/plugin.properties
+++ b/examples/org.eclipse.swt.examples.paint/plugin.properties
@@ -6,7 +6,7 @@
 launchcategory.SWTViewExamples.description = A collection of Standard Widget Toolkit examples that run as Views inside the Eclipse Platform.  These examples will create a new View in the current Perspective.

 

 launchitem.PaintExample.name = Paint

-launchitem.PaintExample.description = This example demonstrates the use of SWT graphics operations in the form of a rudimentary bitmap painting program.

+launchitem.PaintExample.description = This example demonstrates the use of SWT graphics operations in the form of a rudimentary bitmap painting program.  Select a tool with which to draw in the drawing area.  There are a number of tools to choose from on the toolbar.  The color selection can be changed by clicking on a color in the palette below the drawing area: left-click for the foreground color, right-click for the background color.

 

 menu.Tools.label = Tools

 

diff --git a/examples/org.eclipse.swt.examples/doc-html/hglegal.htm b/examples/org.eclipse.swt.examples/doc-html/hglegal.htm
new file mode 100755
index 0000000..b071dbd
--- /dev/null
+++ b/examples/org.eclipse.swt.examples/doc-html/hglegal.htm
@@ -0,0 +1,14 @@
+<!doctype html public "-//w3c//dtd html 4.0 transitional//en">

+<html>

+<head>

+   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

+   <meta name="GENERATOR" content="Mozilla/4.73 [en] (Win98; U) [Netscape]">

+   <title>Legal Notices</title>

+</head>

+<body>

+

+<h3>

+<a NAME="Notices"></a>Notices</h3>

+(c) Copyright IBM Corp. 2000, 2001. All Rights Reserved.

+</body>

+</html>

diff --git a/examples/org.eclipse.swt.examples/doc-html/ngibmcpy.gif b/examples/org.eclipse.swt.examples/doc-html/ngibmcpy.gif
new file mode 100755
index 0000000..360f8e9
--- /dev/null
+++ b/examples/org.eclipse.swt.examples/doc-html/ngibmcpy.gif
Binary files differ
diff --git a/examples/org.eclipse.swt.examples/doc-html/swt_addressbook_ex.html b/examples/org.eclipse.swt.examples/doc-html/swt_addressbook_ex.html
new file mode 100755
index 0000000..017b700
--- /dev/null
+++ b/examples/org.eclipse.swt.examples/doc-html/swt_addressbook_ex.html
@@ -0,0 +1,31 @@
+<!doctype html public "-//w3c//dtd html 4.0 transitional//en">

+<html>

+<head>

+   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

+   <title>SWT - Address Book Example</title>

+</head>

+<body>

+

+<h2>

+Example - Address Book</h2>

+

+<h3>

+Introduction</h3>

+The AddressBook example shows how the org.eclipse.swt.Table class can be

+used to present tabular information.

+<br>&nbsp;

+<h3>

+Running the example</h3>

+Install and run the example per the <a href="swt_examples_setup.html#Run">SWT

+examples setup</a> instructions.

+<br>&nbsp;

+<h3>

+Details</h3>

+The application can save and load

+address books, sort the entries, search for strings within the fields and

+perform other operations which would typically be found in this kind of

+application.

+<br>&nbsp;

+<p><a href="hglegal.htm"><img SRC="ngibmcpy.gif" ALT="Copyright IBM Corporation 2000" BORDER=0 height=12 width=195></a>

+</body>

+</html>

diff --git a/examples/org.eclipse.swt.examples/doc-html/swt_control_ex.html b/examples/org.eclipse.swt.examples/doc-html/swt_control_ex.html
new file mode 100755
index 0000000..c5a49ea
--- /dev/null
+++ b/examples/org.eclipse.swt.examples/doc-html/swt_control_ex.html
@@ -0,0 +1,33 @@
+<!doctype html public "-//w3c//dtd html 4.0 transitional//en">

+<html>

+<head>

+   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

+   <title>SWT - Controls Example</title>

+</head>

+<body>

+

+<h2>

+Example - Controls</h2>

+

+<h3>

+Introduction</h3>

+A standalone version of the <a href="../../org.eclipse.swt.examples.controls/doc-html/swt_controls_ex.html">Controls

+Example.</a>

+<p>This example is a simple demonstration of common Standard Widget Toolkit

+(SWT) UI controls.&nbsp; It consists of a shell and tab folder where each

+tab in the folder allows the user to interact with a control.

+<br>&nbsp;

+<h3>

+Running the example</h3>

+Install and run the examples per the <a href="swt_examples_setup.html#Run">SWT

+examples setup</a> instructions.

+<br>&nbsp;

+<h3>

+Details</h3>

+Each page (tab) of the controls example allows the user to interact with

+a different SWT control.&nbsp; The name of the control being demonstrated

+is on the page tab.

+<br>&nbsp;

+<p><a href="hglegal.htm"><img SRC="ngibmcpy.gif" ALT="Copyright IBM Corporation 2000" BORDER=0 height=12 width=195></a>

+</body>

+</html>

diff --git a/examples/org.eclipse.swt.examples/doc-html/swt_examples_setup.html b/examples/org.eclipse.swt.examples/doc-html/swt_examples_setup.html
new file mode 100755
index 0000000..e7a9cc7
--- /dev/null
+++ b/examples/org.eclipse.swt.examples/doc-html/swt_examples_setup.html
@@ -0,0 +1,116 @@
+<!doctype html public "-//w3c//dtd html 4.0 transitional//en">

+<html>

+<head>

+   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

+   <title>How to Setup SWT Examples</title>

+</head>

+<body>

+

+<h2>

+<b>Examples - Simple Widget Toolkit (SWT)</b></h2>

+

+<h3>

+Setup</h3>

+There are several steps required before the SWT standalone examples can

+be run.

+<ul>

+<li>

+Copy the <b>swt runtime library</b> on the system path [System.getProperty("java.library.path:)].&nbsp;

+On Linux, this is LD_LIBRARY_PATH.&nbsp; (Is&nbsp; LD_LIBRARY_PATH applicable

+to all shells?).</li>

+

+<ul>The <b>swt runtime library</b> can be found in the following directory,

+depending one which Operating System you are using to run Eclipse:

+<ul>

+<li>

+Windows - &lt;install-dir>\eclipse\plugins\org.eclipse.swt\ws\win32\</li>

+

+<li>

+Motif - &lt;install-dir>/eclipse/plugins/org.eclipse.swt/ws/motif/</li>

+</ul>

+</ul>

+

+<li>

+Create a Java Project to contain the examples.&nbsp; Call it "SWT Examples".</li>

+

+<li>

+Make sure the <b>swt.jar</b> file is on the java classpath.</li>

+

+<br>Select the SWT Examples project and bring up the Properties dialog.&nbsp;

+On the Java Build path page, select the Libraries tab, click on the Add

+External JARs button and find <b>swt.jar</b>.&nbsp; The <b>swt.jar</b>

+file can be found in the following directory, depending one which Operating

+System you are using to run Eclipse:

+<ul>

+<li>

+Windows - &lt;install-dir>\eclipse\plugins\org.eclipse.swt\</li>

+

+<br>Motif - &lt;install-dir>/eclipse/plugins/org.eclipse.swt/</ul>

+

+<li>

+Make sure the <b>swtexamples.jar</b> is on the java classpath.</li>

+

+<br>Select the SWT Examples project and bring up the Properties dialog.&nbsp;

+On the Java Build path page, select the Libraries tab, click on the Add

+External JARs button and find <b>swtexamples.jar</b>.&nbsp; The <b>swtexamples.jar</b>

+file can be found in the following directory, depending one which Operating

+System you are using to run Eclipse:

+<ul>

+<li>

+Windows - &lt;install-dir>\eclipse\plugins\org.eclipse.swt.examples</li>

+

+<br>Motif - &lt;install-dir>/eclipse/plugins/org.eclipse.swt.examples/</ul>

+</ul>

+

+<h3>

+<a NAME="Run"></a>Running the Examples</h3>

+In the Packages view of the Java Perspective, expand <b>swtexamples.jar</b>.&nbsp;

+You will see all of the packages and other resource files present in the

+jar file.

+<p>All of the standalone SWT examples are intended to be run as a Java

+Application.&nbsp; No parameters need be passed to any of these examples

+in order to run the example.&nbsp; To run one of the example classes, simply

+expand the containing package of the runnable class, select the runnable

+class, then click on the Run button on the toolbar.

+<p>The runnable classes in the <b>swtexamples.jar</b> are:

+<ul>

+<li>

+&nbsp;org.eclipse.swt.examples.adressbook.AddressBook</li>

+

+<li>

+&nbsp;org.eclipse.swt.examples.controlexample.ControlExamples</li>

+

+<li>

+&nbsp;org.eclipse.swt.examples.explorer.Explorer</li>

+

+<li>

+&nbsp;org.eclipse.swt.examples.helloworld.HelloWorld1</li>

+

+<li>

+&nbsp;org.eclipse.swt.examples.helloworld.HelloWorld2</li>

+

+<li>

+&nbsp;org.eclipse.swt.examples.helloworld.HelloWorld3</li>

+

+<li>

+&nbsp;org.eclipse.swt.examples.helloworld.HelloWorld4</li>

+

+<li>

+&nbsp;org.eclipse.swt.examples.helloworld.HelloWorld5</li>

+

+<li>

+&nbsp;org.eclipse.swt.examples.hover.HoverHelpExample</li>

+

+<li>

+&nbsp;org.eclipse.swt.examples.imageexample.ImageAnalyzer</li>

+

+<li>

+&nbsp;org.eclipse.swt.examples.javaviewer.JavaViewer</li>

+

+<li>

+&nbsp;org.eclipse.swt.examples.texteditor.ColorTextEditor</li>

+</ul>

+

+<p><br><a href="hglegal.htm"><img SRC="ngibmcpy.gif" ALT="Copyright IBM Corporation 2000" BORDER=0 height=12 width=195></a>

+</body>

+</html>

diff --git a/examples/org.eclipse.swt.examples/doc-html/swt_explorer_ex.html b/examples/org.eclipse.swt.examples/doc-html/swt_explorer_ex.html
new file mode 100755
index 0000000..d897a2f
--- /dev/null
+++ b/examples/org.eclipse.swt.examples/doc-html/swt_explorer_ex.html
@@ -0,0 +1,30 @@
+<!doctype html public "-//w3c//dtd html 4.0 transitional//en">

+<html>

+<head>

+   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

+   <meta name="GENERATOR" content="Mozilla/4.73 [en] (Win98; U) [Netscape]">

+   <title>SWT - Explorer Example</title>

+</head>

+<body>

+

+<h2>

+<b>Example - Explorer</b></h2>

+

+<h3>

+Introduction</h3>

+The Explorer example shows how a simple application can be implemented

+using SWT.&nbsp; This application provides the ability to browse files

+and folders.&nbsp; It includes the use of alternate threads for long actions

+and demonstrates the use of the Tree, Table and Toolbar.

+<br>&nbsp;

+<h3>

+Running the example</h3>

+Install and run the examples per the <a href="swt_examples_setup.html#Run">SWT

+examples setup</a> instructions.

+<br>&nbsp;

+<h3>

+Details</h3>

+<br>&nbsp;

+<p><a href="hglegal.htm"><img SRC="ngibmcpy.gif" ALT="Copyright IBM Corporation 2000" BORDER=0 height=12 width=195></a>

+</body>

+</html>

diff --git a/examples/org.eclipse.swt.examples/doc-html/swt_helloworld_ex.html b/examples/org.eclipse.swt.examples/doc-html/swt_helloworld_ex.html
new file mode 100755
index 0000000..ad363a2
--- /dev/null
+++ b/examples/org.eclipse.swt.examples/doc-html/swt_helloworld_ex.html
@@ -0,0 +1,48 @@
+<!doctype html public "-//w3c//dtd html 4.0 transitional//en">

+<html>

+<head>

+   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

+   <title>SWT - Hello World Examples</title>

+</head>

+<body>

+

+<h2>

+<b>Example - Hello World</b></h2>

+

+<h3>

+Introduction</h3>

+The Hello World examples shows how to create a shell, use listeners, process

+events, and use SWT controls.

+<br>&nbsp;

+<h3>

+Running the example</h3>

+Install and run the examples per the <a href="swt_examples_setup.html#Run">SWT

+examples setup</a> instructions.

+<br>&nbsp;

+<h3>

+Details</h3>

+

+<h4>

+Hello World 1</h4>

+This example demonstrates the minimum amount of code required to open an

+SWT Shell and process the events.

+<h4>

+Hello World 2</h4>

+This example builds on HelloWorld1 and demonstrates the minimum amount

+of code required to open an SWT Shell with a Label and process the events.

+<h4>

+Hello World 3</h4>

+This example builds on HelloWorld2 and demonstrates how to resize the Label

+when the Shell resizes using a Listener mechanism.

+<h4>

+Hello World 4</h4>

+This example builds on HelloWorld2 and demonstrates how to resize the Label

+when the Shell resizes using a Layout.

+<h4>

+Hello World 5</h4>

+This example builds on HelloWorld1 and demonstrates how to draw directly

+on an SWT Control.

+<br>&nbsp;

+<p><a href="hglegal.htm"><img SRC="ngibmcpy.gif" ALT="Copyright IBM Corporation 2000" BORDER=0 height=12 width=195></a>

+</body>

+</html>

diff --git a/examples/org.eclipse.swt.examples/doc-html/swt_hoverhelp_ex.html b/examples/org.eclipse.swt.examples/doc-html/swt_hoverhelp_ex.html
new file mode 100755
index 0000000..11854c9
--- /dev/null
+++ b/examples/org.eclipse.swt.examples/doc-html/swt_hoverhelp_ex.html
@@ -0,0 +1,37 @@
+<!doctype html public "-//w3c//dtd html 4.0 transitional//en">

+<html>

+<head>

+   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

+   <title>SWT - Explorer Example</title>

+</head>

+<body>

+

+<h2>

+<b>Example - Hover Help</b></h2>

+

+<h3>

+Introduction</h3>

+The Hover Help example shows how to implement custom tooltips and

+hover help support on a number of different SWT controls including

+Buttons, TableItems, ToolItems and TreeItems.

+<br>&nbsp;

+<h3>

+Running the example</h3>

+Install and run the examples per the <a href="swt_examples_setup.html#Run">SWT

+examples setup</a> instructions.

+<br>&nbsp;

+<h3>

+Details</h3>

+The example implements its own tooltip and hover help support.  To see

+the custom tooltips in action, hover over an item or button in the UI.

+Notice that images appear in the left-hand corner of the tooltip, unlike

+standard SWT tooltips created using setToolTip() on those widgets

+that natively support them.  To see the custom hover help in action,

+hover over an item or button in the UI as before until the tooltip

+is displayed.  Without moving the pointer, hit F1.  A new Shell will

+pop up with the extended hover help information for the UI element

+in question.

+<br>&nbsp;

+<p><a href="hglegal.htm"><img SRC="ngibmcpy.gif" ALT="Copyright IBM Corporation 2000" BORDER=0 height=12 width=195></a>

+</body>

+</html>

diff --git a/examples/org.eclipse.swt.examples/doc-html/swt_imageanalyzer_ex.html b/examples/org.eclipse.swt.examples/doc-html/swt_imageanalyzer_ex.html
new file mode 100755
index 0000000..4f9745d
--- /dev/null
+++ b/examples/org.eclipse.swt.examples/doc-html/swt_imageanalyzer_ex.html
@@ -0,0 +1,29 @@
+<!doctype html public "-//w3c//dtd html 4.0 transitional//en">

+<html>

+<head>

+   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

+   <title>SWT - Image Analyzer Example</title>

+</head>

+<body>

+

+<h2>

+<b>Example - Image Analyzer</b></h2>

+

+<h3>

+Introduction</h3>

+The ImageAnalyzer opens image files and displays the visual contents of

+the file along with a summary of the data in the image file.&nbsp; The

+user can make adjustments to various elements of the image such as scaling

+and Alpha blending and can save these changes to a file.

+<br>&nbsp;

+<h3>

+Running the example</h3>

+Install and run the examples per the <a href="swt_examples_setup.html#Run">SWT

+examples setup</a> instructions.

+<br>&nbsp;

+<h3>

+Details</h3>

+<br>&nbsp;

+<p><a href="hglegal.htm"><img SRC="ngibmcpy.gif" ALT="Copyright IBM Corporation 2000" BORDER=0 height=12 width=195></a>

+</body>

+</html>

diff --git a/examples/org.eclipse.swt.examples/doc-html/swt_javaviewer_ex.html b/examples/org.eclipse.swt.examples/doc-html/swt_javaviewer_ex.html
new file mode 100755
index 0000000..806eb13
--- /dev/null
+++ b/examples/org.eclipse.swt.examples/doc-html/swt_javaviewer_ex.html
@@ -0,0 +1,30 @@
+<!doctype html public "-//w3c//dtd html 4.0 transitional//en">

+<html>

+<head>

+   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

+   <title>SWT - Java Syntax Viewer Example</title>

+</head>

+<body>

+

+<h2>

+<b>Example - Java Syntax Viewer</b></h2>

+

+<h3>

+Introduction</h3>

+This example demonstrates how to implement a user-defined line styler for

+the StyledText widget.

+<br>&nbsp;

+<h3>

+Running the example</h3>

+Install and run the examples per the <a href="swt_examples_setup.html#Run">SWT

+examples setup</a> instructions.

+<br>&nbsp;

+<h3>

+Details</h3>

+The example provides a typical editor interface.  To see the effect of the line

+styler, open a *.java file.  When the contents of the file are displayed in the

+editor area, notice that the keywords have been highlighted.

+<br>&nbsp;

+<p><a href="hglegal.htm"><img SRC="ngibmcpy.gif" ALT="Copyright IBM Corporation 2000" BORDER=0 height=12 width=195></a>

+</body>

+</html>

diff --git a/examples/org.eclipse.swt.examples/doc-html/swt_texteditor_ex.html b/examples/org.eclipse.swt.examples/doc-html/swt_texteditor_ex.html
new file mode 100755
index 0000000..5c14e7d
--- /dev/null
+++ b/examples/org.eclipse.swt.examples/doc-html/swt_texteditor_ex.html
@@ -0,0 +1,29 @@
+<!doctype html public "-//w3c//dtd html 4.0 transitional//en">

+<html>

+<head>

+   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

+   <meta name="GENERATOR" content="Mozilla/4.73 [en] (Win98; U) [Netscape]">

+   <title>SWT - Text Editor Example</title>

+</head>

+<body>

+

+<h2>

+Example - Text Editor</h2>

+

+<h3>

+Introduction</h3>

+This example demonstrates how to use the StyledText widget to implement

+a simple text editor.

+<br>&nbsp;

+<h3>

+Running the example</h3>

+Install and run the example per the <a href="swt_examples_setup.html#Run">SWT

+examples setup</a> instructions.

+<br>&nbsp;

+<h3>

+Details</h3>

+The example provides a typical editor interface.

+<br>&nbsp;

+<p><a href="hglegal.htm"><img SRC="ngibmcpy.gif" ALT="Copyright IBM Corporation 2000" BORDER=0 height=12 width=195></a>

+</body>

+</html>

diff --git a/examples/org.eclipse.swt.examples/plugin.properties b/examples/org.eclipse.swt.examples/plugin.properties
index eb9ddf2..559e364 100755
--- a/examples/org.eclipse.swt.examples/plugin.properties
+++ b/examples/org.eclipse.swt.examples/plugin.properties
@@ -10,7 +10,7 @@
 launchitem.FileViewer.description = The File Viewer example shows how a simple application can be implemented using SWT.  This application provides the ability to browse files and folders and manipulate via Drag & Drop.  It includes the use of alternate threads for long actions and demonstrates the use of the Tree, Table and Toolbar.

 

 launchitem.HoverHelp.name = Hover Help

-launchitem.HoverHelp.description = This example demonstrates how to implement custom hover help feedback using the MouseTrackListener.  Normally one would use the setToolTipText() feature and let SWT deal with displaying it at the appropriate time.   This example demonstrates that it is possible to create custom hover help of an arbitrary form, perhaps including images, live updated information or user interface hover-buttons.

+launchitem.HoverHelp.description = The Hover Help example shows how to implement custom tooltips and hover help support on a number of different SWT controls including Buttons, TableItems, ToolItems and TreeItems.  The example implements its own tooltip and hover help support.  To see the custom tooltips in action, hover over an item or button in the UI.  Notice that images appear in the left-hand corner of the tooltip, unlike standard SWT tooltips created using setToolTip() on those widgets that natively support them.  To see the custom hover help in action, hover over an item or button in the UI as before until the tooltip is displayed.  Without moving the pointer, hit F1.  A new Shell will pop up with the extended hover help information for the UI element in question.

 

 launchitem.HelloWorld1.name = Hello World (1)

 launchitem.HelloWorld1.description = This example demonstrates the minimum amount of code required to open an SWT Shell and process the events.

@@ -28,10 +28,10 @@
 launchitem.HelloWorld5.description = This example builds on HelloWorld1 and demonstrates how to draw directly on an SWT Control.

 

 launchitem.ImageAnalyzer.name = Image Analyzer

-launchitem.ImageAnalyzer.description = The ImageAnalyzer opens image files and displays the visual contents of the file along with a summary of the data in the image file.  The user can make adjustments to various elements of the image such as scaling and Alpha blending and can save these changes to file.

+launchitem.ImageAnalyzer.description = The ImageAnalyzer opens image files and displays the visual contents of the file along with a summary of the data in the image file.  The user can make adjustments to various elements of the image such as scaling and Alpha blending and can save these changes to a file.

 

 launchitem.JavaViewer.name = Java Syntax Viewer

-launchitem.JavaViewer.description = This example demonstrates how to implement a user-defined line styler for the StyledText widget.  

+launchitem.JavaViewer.description = This example demonstrates how to implement a user-defined line styler for the StyledText widget.  The example provides a typical editor interface.  To see the effect of the line styler, open a *.java file.  When the contents of the file are displayed in the editor area, notice that the keywords have been highlighted.

 

 launchitem.TextEditor.name = Text Editor

-launchitem.TextEditor.description = This example demonstrates how to use the StyledText widget. 

+launchitem.TextEditor.description = This example demonstrates how to use the StyledText widget.  The example provides a typical editor interface.