Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVeronika Irvine2002-06-19 20:04:33 +0000
committerVeronika Irvine2002-06-19 20:04:33 +0000
commit8dbde78609c1a7aba227cffd91cc3edc2ce231a5 (patch)
treee7471119d750c0357fef406918bae6d993527bc1
parentd7e920b839c121a5575de05e68d5985f6209cd01 (diff)
downloadeclipse.platform.swt-8dbde78609c1a7aba227cffd91cc3edc2ce231a5.tar.gz
eclipse.platform.swt-8dbde78609c1a7aba227cffd91cc3edc2ce231a5.tar.xz
eclipse.platform.swt-8dbde78609c1a7aba227cffd91cc3edc2ce231a5.zip
documentation updatesv2047a
-rw-r--r--[-rwxr-xr-x]examples/org.eclipse.swt.examples.ole.win32/doc-html/hglegal2002.htm (renamed from examples/org.eclipse.swt.examples.ole.win32/doc-html/hglegal.htm)4
-rwxr-xr-xexamples/org.eclipse.swt.examples.ole.win32/doc-html/ngibmcpy.gifbin814 -> 0 bytes
-rw-r--r--examples/org.eclipse.swt.examples.ole.win32/doc-html/ngibmcpy2002.gifbin0 -> 1558 bytes
-rwxr-xr-xexamples/org.eclipse.swt.examples.ole.win32/doc-html/swt_ole_ex.html38
-rwxr-xr-xexamples/org.eclipse.swt.examples.ole.win32/plugin.properties17
-rw-r--r--[-rwxr-xr-x]examples/org.eclipse.swt.examples.paint/doc-html/hglegal2002.htm (renamed from examples/org.eclipse.swt.examples/doc-html/hglegal.htm)4
-rwxr-xr-xexamples/org.eclipse.swt.examples.paint/doc-html/ngibmcpy.gifbin814 -> 0 bytes
-rw-r--r--examples/org.eclipse.swt.examples.paint/doc-html/ngibmcpy2002.gifbin0 -> 1558 bytes
-rwxr-xr-xexamples/org.eclipse.swt.examples.paint/doc-html/swt_paint_ex.html41
-rwxr-xr-xexamples/org.eclipse.swt.examples.paint/plugin.properties2
-rw-r--r--[-rwxr-xr-x]examples/org.eclipse.swt.examples/doc-html/hglegal2002.htm (renamed from examples/org.eclipse.swt.examples.paint/doc-html/hglegal.htm)4
-rwxr-xr-xexamples/org.eclipse.swt.examples/doc-html/ngibmcpy.gifbin814 -> 0 bytes
-rw-r--r--examples/org.eclipse.swt.examples/doc-html/ngibmcpy2002.gifbin0 -> 1558 bytes
-rwxr-xr-xexamples/org.eclipse.swt.examples/doc-html/swt_addressbook_ex.html26
-rwxr-xr-xexamples/org.eclipse.swt.examples/doc-html/swt_control_ex.html32
-rwxr-xr-xexamples/org.eclipse.swt.examples/doc-html/swt_fileviewer_ex.html28
-rwxr-xr-xexamples/org.eclipse.swt.examples/doc-html/swt_helloworld_ex.html53
-rwxr-xr-xexamples/org.eclipse.swt.examples/doc-html/swt_hoverhelp_ex.html45
-rwxr-xr-xexamples/org.eclipse.swt.examples/doc-html/swt_imageanalyzer_ex.html71
-rwxr-xr-xexamples/org.eclipse.swt.examples/doc-html/swt_javaviewer_ex.html30
-rw-r--r--examples/org.eclipse.swt.examples/doc-html/swt_launcher_ex.html55
-rw-r--r--examples/org.eclipse.swt.examples/doc-html/swt_layout_ex.html31
-rwxr-xr-xexamples/org.eclipse.swt.examples/doc-html/swt_manual_setup.html153
-rwxr-xr-xexamples/org.eclipse.swt.examples/doc-html/swt_texteditor_ex.html30
-rwxr-xr-xexamples/org.eclipse.swt.examples/plugin.properties55
25 files changed, 418 insertions, 301 deletions
diff --git a/examples/org.eclipse.swt.examples.ole.win32/doc-html/hglegal.htm b/examples/org.eclipse.swt.examples.ole.win32/doc-html/hglegal2002.htm
index b071dbdf45..74393f08f3 100755..100644
--- a/examples/org.eclipse.swt.examples.ole.win32/doc-html/hglegal.htm
+++ b/examples/org.eclipse.swt.examples.ole.win32/doc-html/hglegal2002.htm
@@ -2,13 +2,13 @@
<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]">
+ <meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<title>Legal Notices</title>
</head>
<body>
<h3>
<a NAME="Notices"></a>Notices</h3>
-(c) Copyright IBM Corp. 2000, 2001. All Rights Reserved.
+(c) Copyright IBM Corp. 2000, 2002. 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
deleted file mode 100755
index 360f8e9989..0000000000
--- a/examples/org.eclipse.swt.examples.ole.win32/doc-html/ngibmcpy.gif
+++ /dev/null
Binary files differ
diff --git a/examples/org.eclipse.swt.examples.ole.win32/doc-html/ngibmcpy2002.gif b/examples/org.eclipse.swt.examples.ole.win32/doc-html/ngibmcpy2002.gif
new file mode 100644
index 0000000000..dd2f444669
--- /dev/null
+++ b/examples/org.eclipse.swt.examples.ole.win32/doc-html/ngibmcpy2002.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
index 882d680053..6801146f1c 100755
--- 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
@@ -8,33 +8,27 @@
<h2>Example - OLE Web Browser</h2>
-<h3>Introduction</h3>
-<p>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.
+<p>
+This example demonstrates how to embed an Active X control into an SWT application or an Eclipse view.
+<p>
+</p>
+When the view is opened, it will create an instance of the Windows Internet Explorer
+control. 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.
</p>
<h3>Running the example</h3>
-<p>To run the OLE Web Browser 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.
-</p>
-<h3>Details</h3>
-<p>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.
+<p>
+From the Window menu select Show View &#8594; Other... .
+In the Show View dialog, expand SWT Examples and select
+the view named OLE Web Browser (Win32). A view containing a web browser will appear.
</p>
-<p><a href="hglegal.htm"><img SRC="ngibmcpy.gif" ALT="Copyright IBM Corporation 2000, 2001. All Rights Reserved." BORDER=0 height=12 width=195></a></p>
+<p><a href="hglegal2002.htm"><img SRC="ngibmcpy2002.gif" ALT="Copyright IBM Corporation 2000, 2002. All Rights Reserved." BORDER=0 height=12 width=195></a></p>
</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 818e877ec3..82d8e49fe5 100755
--- a/examples/org.eclipse.swt.examples.ole.win32/plugin.properties
+++ b/examples/org.eclipse.swt.examples.ole.win32/plugin.properties
@@ -9,26 +9,23 @@ launchcategory.SWTWin32OnlyExamples.description = \
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.\n\n\
- 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. The OLE Web Browser has \
+ This example demonstrates how to embed an Active X control into an SWT application or an Eclipse view.\n\n\
+ When the view is opened, it will create an instance of the Windows Internet Explorer \
+ control. 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.\n\n\
- To run this example, Internet Explorer must be installed.
+ Go button which, when clicked, will attempt to load the page specified in the Address field.
browser.Back.text = Backward
-browser.Back.tooltip = Surf to previously viewed Web site
+browser.Back.tooltip = Go to previous Web site in the history list
browser.Forward.text = Forward
-browser.Forward.tooltip = Surf to next viewed Web site
+browser.Forward.tooltip = Go to next Web site in the history list
browser.Home.text = Home
-browser.Home.tooltip = Surf to home Web site
+browser.Home.tooltip = Go to home Web site
browser.Stop.text = Stop
browser.Stop.tooltip = Stop loading current Web site
diff --git a/examples/org.eclipse.swt.examples/doc-html/hglegal.htm b/examples/org.eclipse.swt.examples.paint/doc-html/hglegal2002.htm
index b071dbdf45..74393f08f3 100755..100644
--- a/examples/org.eclipse.swt.examples/doc-html/hglegal.htm
+++ b/examples/org.eclipse.swt.examples.paint/doc-html/hglegal2002.htm
@@ -2,13 +2,13 @@
<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]">
+ <meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<title>Legal Notices</title>
</head>
<body>
<h3>
<a NAME="Notices"></a>Notices</h3>
-(c) Copyright IBM Corp. 2000, 2001. All Rights Reserved.
+(c) Copyright IBM Corp. 2000, 2002. 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
deleted file mode 100755
index 360f8e9989..0000000000
--- a/examples/org.eclipse.swt.examples.paint/doc-html/ngibmcpy.gif
+++ /dev/null
Binary files differ
diff --git a/examples/org.eclipse.swt.examples.paint/doc-html/ngibmcpy2002.gif b/examples/org.eclipse.swt.examples.paint/doc-html/ngibmcpy2002.gif
new file mode 100644
index 0000000000..dd2f444669
--- /dev/null
+++ b/examples/org.eclipse.swt.examples.paint/doc-html/ngibmcpy2002.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
index 458c380093..33c28e296c 100755
--- 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
@@ -2,36 +2,35 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
- <title>SWT - Paint Example</title>
+ <title>SWT - Paint Tool</title>
</head>
<body>
-<h2>Example - Paint Example</h2>
+<h2>SWT Example - Paint Tool</h2>
-<h3>Introduction</h3>
-<p>This example demonstrates the use of SWT graphics operations in the form
-of a rudimentary bitmap painting program.&nbsp; The Airbrush Tool implementation also
-demonstrates a mechanism for managing timed GUI operations in the background
-that are triggered by user input (see ContinuousPaintSession.java).
+<p>
+This example demonstrates the use of SWT graphics operations in the form of a
+rudimentary bitmap painting program. The Airbrush Tool implementation also
+demonstrates a mechanism for managing timed GUI operations in the background
+that are triggered by user input.
+</p>
+<p>
+Select a tool with which to draw in the drawing area. There are a number of tools
+to choose from on the toolbar. To change the color selection, click on a color in the
+palette below the drawing area: left-click for the foreground color, right-click for the
+background color.
+</p>
+<p>
+Uses SWT's GC and FontDialog, and JFace's InputDialog and action set support.
</p>
<h3>Running the example</h3>
-<p>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.
-</p>
-<h3>Details</h3>
-<p>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; To change the color selection,
-click on a color in the palette below the drawing area:
-left-click for the foreground color, right-click for the background color.
-</p>
-<p>Uses SWT's GC and FontDialog, and JFace's InputDialog and action set support.
+<p>From the Window menu select Show View &#8594; Other... .
+In the Show View dialog, expand SWT Examples and select the
+view named Paint. A view titled Paint will appear in your current perspective.
</p>
-<p><a href="hglegal.htm"><img SRC="ngibmcpy.gif" ALT="Copyright IBM Corporation 2000, 2001. All Rights Reserved." BORDER=0 height=12 width=195></a></p>
+<p><a href="hglegal2002.htm"><img SRC="ngibmcpy2002.gif" ALT="Copyright IBM Corporation 2000, 2002. All Rights Reserved." BORDER=0 height=12 width=195></a></p>
</body>
</html>
diff --git a/examples/org.eclipse.swt.examples.paint/plugin.properties b/examples/org.eclipse.swt.examples.paint/plugin.properties
index 4d95fffc76..7ec46f1cde 100755
--- a/examples/org.eclipse.swt.examples.paint/plugin.properties
+++ b/examples/org.eclipse.swt.examples.paint/plugin.properties
@@ -13,7 +13,7 @@ launchitem.PaintExample.description = \
This example demonstrates the use of SWT graphics operations in the form of a \
rudimentary bitmap painting program. The Airbrush Tool implementation also \
demonstrates a mechanism for managing timed GUI operations in the background \
- that are triggered by user input (see ContinuousPaintSession.java).\n\n\
+ that are triggered by user input.\n\n\
Select a tool with which to draw in the drawing area. There are a number of tools \
to choose from on the toolbar. To change the color selection, click on a color in the \
palette below the drawing area: left-click for the foreground color, right-click for the \
diff --git a/examples/org.eclipse.swt.examples.paint/doc-html/hglegal.htm b/examples/org.eclipse.swt.examples/doc-html/hglegal2002.htm
index b071dbdf45..74393f08f3 100755..100644
--- a/examples/org.eclipse.swt.examples.paint/doc-html/hglegal.htm
+++ b/examples/org.eclipse.swt.examples/doc-html/hglegal2002.htm
@@ -2,13 +2,13 @@
<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]">
+ <meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<title>Legal Notices</title>
</head>
<body>
<h3>
<a NAME="Notices"></a>Notices</h3>
-(c) Copyright IBM Corp. 2000, 2001. All Rights Reserved.
+(c) Copyright IBM Corp. 2000, 2002. 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
deleted file mode 100755
index 360f8e9989..0000000000
--- a/examples/org.eclipse.swt.examples/doc-html/ngibmcpy.gif
+++ /dev/null
Binary files differ
diff --git a/examples/org.eclipse.swt.examples/doc-html/ngibmcpy2002.gif b/examples/org.eclipse.swt.examples/doc-html/ngibmcpy2002.gif
new file mode 100644
index 0000000000..dd2f444669
--- /dev/null
+++ b/examples/org.eclipse.swt.examples/doc-html/ngibmcpy2002.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
index c73a47cc44..d1fa10c281 100755
--- a/examples/org.eclipse.swt.examples/doc-html/swt_addressbook_ex.html
+++ b/examples/org.eclipse.swt.examples/doc-html/swt_addressbook_ex.html
@@ -6,28 +6,26 @@
</head>
<body>
-<h2>Standard Widget Toolkit (SWT) Standalone Example - Address Book</h2>
+<h2>SWT Standalone Example - Address Book</h2>
-<h3>Introduction</h3>
<p>
-The AddressBook example shows how the org.eclipse.swt.Table class can be
-used to present tabular information.
+The AddressBook example shows how the Table control can be used to
+present information in a tabular format. The application can save and load data
+from a file, sort the entries, and search for strings within the fields.
</p>
<h3>Running the example</h3>
<p>
-If the Example Launcher is installed, select the Address Book item from the Standalone category and click Run.&nbsp;
-Otherwise, install and run the example manually as per the
-<a href="swt_manual_setup.html">Standalone Examples Manual Setup</a> instructions.&nbsp; The executable class is
-<code>org.eclipse.swt.examples.addressbook.AddressBook</code>.
+Follow the <a href="swt_manual_setup.html">Manual Setup</a>
+instructions to install and run the example from your workspace.
</p>
-
-<h3>Details</h3>
<p>
-The application can save and load address books, sort the entries, search for strings within the fields and
-perform other operations that would typically be found in this kind of application.
+The "Main" class is <code>org.eclipse.swt.examples.addressbook.AddressBook</code>.
</p>
-
-<p><a href="hglegal.htm"><img SRC="ngibmcpy.gif" ALT="Copyright IBM Corporation 2000, 2001. All Rights Reserved." BORDER=0 height=12 width=195></a></p>
+<p>
+This example can also be run using the <a href="swt_launcher_ex.html">Example Launcher</a>.
+Select the Address Book item from the Standalone category and click Run.
+</p>
+<p><a href="hglegal2002.htm"><img SRC="ngibmcpy2002.gif" ALT="Copyright IBM Corporation 2000, 2002. All Rights Reserved." BORDER=0 height=12 width=195></a></p>
</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
index 2d3da944b3..39b7eef7b6 100755
--- a/examples/org.eclipse.swt.examples/doc-html/swt_control_ex.html
+++ b/examples/org.eclipse.swt.examples/doc-html/swt_control_ex.html
@@ -2,33 +2,29 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
- <title>SWT - Controls Example</title>
+ <title>SWT - Controls Overview</title>
</head>
<body>
-<h2>Standard Widget Toolkit (SWT) Standalone Example - Controls</h2>
+<h2>SWT Standalone Example - Controls Overview</h2>
-<h3>Introduction</h3>
-<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.
-</p><p>
-This is a standalone version of the <a href="../../org.eclipse.swt.examples.controls/doc-html/swt_controls_ex.html">Controls
-Example.</a>
+<p>
+The Controls Overview example is a simple demonstration of common SWT controls.
+It consists of a tab folder where each tab in the folder allows the user
+to interact with a different control.
+The user can change styles and settings and view how this affects the control.
</p>
<h3>Running the example</h3>
-<p>Install and run the example manually as per the
-<a href="swt_manual_setup.html">Standalone Examples Manual Setup</a> instructions.&nbsp; The executable class is
-<code>org.eclipse.swt.examples.controlexample.ControlExample</code>.
+<p>
+Follow the <a href="swt_manual_setup.html">Manual Setup</a>
+instructions to install and run the example from your workspace.
</p>
-
-<h3>Details</h3>
-<p>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.
+<p>
+The "Main" class is <code>org.eclipse.swt.examples.controlexample.ControlExample</code>.
</p>
-<p><a href="hglegal.htm"><img SRC="ngibmcpy.gif" ALT="Copyright IBM Corporation 2000, 2001. All Rights Reserved." BORDER=0 height=12 width=195></a></p>
+
+<p><a href="hglegal2002.htm"><img SRC="ngibmcpy2002.gif" ALT="Copyright IBM Corporation 2000, 2002. All Rights Reserved." BORDER=0 height=12 width=195></a></p>
</body>
</html>
diff --git a/examples/org.eclipse.swt.examples/doc-html/swt_fileviewer_ex.html b/examples/org.eclipse.swt.examples/doc-html/swt_fileviewer_ex.html
index 55d1502232..e02dbba816 100755
--- a/examples/org.eclipse.swt.examples/doc-html/swt_fileviewer_ex.html
+++ b/examples/org.eclipse.swt.examples/doc-html/swt_fileviewer_ex.html
@@ -6,26 +6,28 @@
</head>
<body>
-<h2>Standard Widget Toolkit (SWT) Standalone Example - File Viewer</h2>
+<h2>SWT Standalone Example - File Viewer</h2>
-<h3>Introduction</h3>
-<p>The File Viewer 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, Toolbar and Program.
+<p>
+The File Viewer example shows how a simple application can be implemented using SWT.
+This application provides the ability to navigate files and folders and manipulate them via Drag and Drop.
+It includes the use of alternate threads for long actions and demonstrates the use of the Tree,
+Table, Toolbar and Program.
</p>
<h3>Running the example</h3>
-<p>If the Example Launcher is installed, select the File Viewer item from the Standalone category and click Run.&nbsp;
-Otherwise, install and run the example manually as per the
-<a href="swt_manual_setup.html">Standalone Examples Manual Setup</a> instructions.&nbsp; The executable class is
-<code>org.eclipse.swt.examples.fileviewer.FileViewer</code>.
+<p>
+Follow the <a href="swt_manual_setup.html">Manual Setup</a>
+instructions to install and run the example from your workspace.
+</p>
+<p>
+The "Main" class is <code>org.eclipse.swt.examples.fileviewer.FileViewer</code>.
</p>
-
-<h3>Details</h3>
<p>
+This example can also be run using the <a href="swt_launcher_ex.html">Example Launcher</a>.
+Select the File Viewer item from the Standalone category and click Run.
</p>
-<p><a href="hglegal.htm"><img SRC="ngibmcpy.gif" ALT="Copyright IBM Corporation 2000, 2001. All Rights Reserved." BORDER=0 height=12 width=195></a></p>
+<p><a href="hglegal2002.htm"><img SRC="ngibmcpy2002.gif" ALT="Copyright IBM Corporation 2000, 2002. All Rights Reserved." BORDER=0 height=12 width=195></a></p>
</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
index 8e970b20d2..7d28d19068 100755
--- a/examples/org.eclipse.swt.examples/doc-html/swt_helloworld_ex.html
+++ b/examples/org.eclipse.swt.examples/doc-html/swt_helloworld_ex.html
@@ -6,47 +6,56 @@
</head>
<body>
-<h2>Standard Widget Toolkit (SWT) Standalone Example - Hello World</h2>
+<h2>SWT Standalone Example - Hello World</h2>
-<h3>Introduction</h3>
-<p>The Hello World examples shows how to create a shell, use listeners, process
-events, and use SWT controls.
+<p>
+The Hello World examples are a set of introductory examples to show how to get started
+creating an application with SWT. They cover creating a shell, using event listeners,
+processing events in an event loop, using layouts, and drawing with a Graphic Context.
</p>
-<h3>Running the example</h3>
-<p>If the Example Launcher is installed, select the Hello World [1-5] item from the Standalone category and click Run.&nbsp;
-Otherwise, install and run the example manually as per the
-<a href="swt_manual_setup.html">Standalone Examples Manual Setup</a> instructions.&nbsp; The executable classes are
-<code>org.eclipse.swt.examples.helloworld.HelloWorld[1-5]</code>.
-</p>
-
-<h3>Details</h3>
-
<h4>Hello World 1</h4>
-<p>This example demonstrates the minimum amount of code required to open an
-SWT Shell and process the events.
+<p>
+This example demonstrates how to open a Shell and process the events.
</p>
<h4>Hello World 2</h4>
-<p>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.
+<p>
+This example builds on HelloWorld1 and demonstrates how to display a Label inside the Shell.
</p>
<h4>Hello World 3</h4>
-<p>This example builds on HelloWorld2 and demonstrates how to resize the Label
+<p>
+This example builds on HelloWorld2 and demonstrates how to resize the Label
when the Shell resizes using a Listener mechanism.
</p>
<h4>Hello World 4</h4>
-<p>This example builds on HelloWorld2 and demonstrates how to resize the Label
+<p>
+This example builds on HelloWorld2 and demonstrates how to resize the Label
when the Shell resizes using a Layout.
</p>
<h4>Hello World 5</h4>
-<p>This example builds on HelloWorld1 and demonstrates how to draw directly
-on an SWT Control.
+<p>
+This example builds on HelloWorld1 and demonstrates how to draw directly
+on an SWT Control using a graphic context.
+</p>
+
+<h3>Running the example</h3>
+
+<p>
+Follow the <a href="swt_manual_setup.html">Manual Setup</a>
+instructions to install and run the example from your workspace.
+</p>
+<p>
+The "Main" class is <code>org.eclipse.swt.examples.helloworld.HelloWorld[1-5]</code>.
+</p>
+<p>
+This example can also be run using the <a href="swt_launcher_ex.html">Example Launcher</a>.
+Select the Hello World item from the Standalone category and click Run.
</p>
-<p><a href="hglegal.htm"><img SRC="ngibmcpy.gif" ALT="Copyright IBM Corporation 2000, 2001. All Rights Reserved." BORDER=0 height=12 width=195></a></p>
+<p><a href="hglegal2002.htm"><img SRC="ngibmcpy2002.gif" ALT="Copyright IBM Corporation 2000, 2002. All Rights Reserved." BORDER=0 height=12 width=195></a></p>
</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
index 467a18d371..90c562d86f 100755
--- a/examples/org.eclipse.swt.examples/doc-html/swt_hoverhelp_ex.html
+++ b/examples/org.eclipse.swt.examples/doc-html/swt_hoverhelp_ex.html
@@ -2,37 +2,36 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
- <title>SWT - Explorer Example</title>
+ <title>SWT - Hover Help Example</title>
</head>
<body>
-<h2>Standard Widget Toolkit (SWT) Standalone Example - Hover Help</h2>
+<h2>SWT Standalone Example - Hover Help</h2>
-<h3>Introduction</h3>
-<p>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.
-</p>
+<p>
+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.
+To see the custom hover help in action, hover over an item or button in the UI until
+the tooltip is displayed. Without moving the mouse, hit F1. A new Shell will pop up with the
+extended hover help information for the UI element in question.
+</p>
<h3>Running the example</h3>
-<p>If the Example Launcher is installed, select the Hover Help item from the Standalone category and click Run.&nbsp;
-Otherwise, install and run the example manually as per the
-<a href="swt_manual_setup.html">Standalone Examples Manual Setup</a> instructions.&nbsp; The executable class is
-<code>org.eclipse.swt.examples.hoverhelp.HoverHelp</code>.
+<p>
+Follow the <a href="swt_manual_setup.html">Manual Setup</a>
+instructions to install and run the example from your workspace.
</p>
-
-<h3>Details</h3>
-<p>The example implements its own tooltip and hover help support.&nbsp; To see
-the custom tooltips in action, hover over an item or button in the UI.&nbsp;
-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.&nbsp; To see the custom hover help in action,
-hover over an item or button in the UI as before until the tooltip
-is displayed.&nbsp; Without moving the pointer, hit F1.&nbsp; A new Shell will
-pop up with the extended hover help information for the UI element
-in question.
+<p>
+The "Main" class is <code>org.eclipse.swt.examples.hoverhelp.HoverHelp</code>.
+</p>
+<p>
+This example can also be run using the <a href="swt_launcher_ex.html">Example Launcher</a>.
+Select the Hover Help item from the Standalone category and click Run.
</p>
-<p><a href="hglegal.htm"><img SRC="ngibmcpy.gif" ALT="Copyright IBM Corporation 2000, 2001. All Rights Reserved." BORDER=0 height=12 width=195></a></p>
+<p><a href="hglegal2002.htm"><img SRC="ngibmcpy2002.gif" ALT="Copyright IBM Corporation 2000, 2002. All Rights Reserved." BORDER=0 height=12 width=195></a></p>
</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
index b1e9af0da4..fa28831e1e 100755
--- a/examples/org.eclipse.swt.examples/doc-html/swt_imageanalyzer_ex.html
+++ b/examples/org.eclipse.swt.examples/doc-html/swt_imageanalyzer_ex.html
@@ -8,49 +8,50 @@
<h2>Standard Widget Toolkit (SWT) Standalone Example - Image Analyzer</h2>
-<h3>Introduction</h3>
-<p>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.
-</p>
-
-<h3>Running the example</h3>
-<p>If the Example Launcher is installed, select the Image Analyzer item from the Standalone category and click Run.&nbsp;
-Otherwise, install and run the example manually as per the
-<a href="swt_manual_setup.html">Standalone Examples Manual Setup</a> instructions.&nbsp; The executable class is
-<code>org.eclipse.swt.examples.imageanalyzer.ImageAnalyzer</code>.
+<p>
+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.
</p>
-
-<h3>Details</h3>
<p>
-The ImageAnalyzer will load and display image files of type GIF, JPEG, BMP, ICO, and PNG.&nbsp;
+The ImageAnalyzer will load and display image files of type GIF, JPEG, BMP, ICO, and PNG.
To open a file, use the File->Open... menu item, and select the image file in the FileDialog.
-</p><p>
-If the file is an interlaced GIF or PNG or a progressive JPEG, and Incremental Display is selected,
-then the ImageAnalyzer displays the image increments as they are being loaded.
-</p><p>
-If the file contains an animated GIF, then the Next, Previous, and Animate buttons become enabled,
-and they can be used to cycle through the images in the file, or animate them.&nbsp; If a GIF defines a background color,
+If the file is an interlaced GIF or PNG or a progressive JPEG, and Incremental Display is selected,
+then the ImageAnalyzer displays the image increments as they are being loaded.
+If the file contains an animated GIF, then the Next, Previous, and Animate buttons become enabled,
+and they can be used to cycle through the images in the file, or animate them. If a GIF defines a background color,
as many animated GIFs do, selecting Background will use the GIF's background color.
-</p><p>
-If the image has transparency (possible with GIF, PNG, or ICO), then selecting Display Mask will draw the image's transparency
-mask to the right of the image.&nbsp; You can change the background color of the ImageAnalyzer to see the transparency work.&nbsp;
+If the image has transparency (possible with GIF, PNG, or ICO), then selecting Display Mask will draw the image's transparency
+mask to the right of the image. You can change the background color of the ImageAnalyzer to see the transparency work.
To turn off the transparency, deselect Display Transparency.
-</p><p>
-After an image is loaded, it can be scaled or have alpha transparency applied, using the Scale and Alpha-K combos,
+After an image is loaded, it can be scaled or have alpha transparency applied, using the Scale and Alpha-K combos,
and the Alpha menu. File->Reopen restores scaling and Alpha to their default values and reloads the current image file.
-</p><p>
-File->Save As... can be used to save the currently loaded image to another type of image file.&nbsp; If the image has transparency,
+File->Save As... can be used to save the currently loaded image to another type of image file. If the image has transparency,
File->Save Mask As... saves the image's transparency mask.
-</p><p>
-When SWT loads an image file, an instance of org.eclipse.swt.graphics.ImageData is created.&nbsp; (In the case of an ICO file or
-multi-image GIF, an array of ImageData instances is created).&nbsp; The ImageAnalyzer displays all of the data stored in the ImageData
-instance(s) for the currently loaded image file, including the pixel data.&nbsp; Hovering over a pixel in the image display will show the RGB
-color data for that pixel.&nbsp; For certain images (particularly animated GIFs) additional data is stored in the org.eclipse.swt.graphics.ImageLoader
-instance used to load the image.&nbsp; The ImageAnalyzer displays this data as well.
+</p>
+<p>
+When SWT loads an image file, an instance of org.eclipse.swt.graphics.ImageData is created. (In the case of an ICO file or
+multi-image GIF, an array of ImageData instances is created). The ImageAnalyzer displays all of the data stored in the ImageData
+instance(s) for the currently loaded image file, including the pixel data. Hovering over a pixel in the image display will show the RGB
+color data for that pixel. For certain images (particularly animated GIFs) additional data is stored in the org.eclipse.swt.graphics.ImageLoader
+instance used to load the image. The ImageAnalyzer displays this data as well.
+</p>
+
+<h3>Running the example</h3>
+
+<p>
+Follow the <a href="swt_manual_setup.html">Manual Setup</a>
+instructions to install and run the example from your workspace.
+</p>
+<p>
+The "Main" class is <code>org.eclipse.swt.examples.imageanalyzer.ImageAnalyzer</code>.
+</p>
+<p>
+This example can also be run using the <a href="swt_launcher_ex.html">Example Launcher</a>.
+Select the Image Analyzer item from the Standalone category and click Run.
</p>
-<p><a href="hglegal.htm"><img SRC="ngibmcpy.gif" ALT="Copyright IBM Corporation 2000, 2001. All Rights Reserved." BORDER=0 height=12 width=195></a></p>
+<p><a href="hglegal2002.htm"><img SRC="ngibmcpy2002.gif" ALT="Copyright IBM Corporation 2000, 2002. All Rights Reserved." BORDER=0 height=12 width=195></a></p>
</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
index fdad5c3b07..38cbf17fae 100755
--- a/examples/org.eclipse.swt.examples/doc-html/swt_javaviewer_ex.html
+++ b/examples/org.eclipse.swt.examples/doc-html/swt_javaviewer_ex.html
@@ -6,26 +6,28 @@
</head>
<body>
-<h2>Standard Widget Toolkit (SWT) Standalone Example - Java Syntax Viewer</h2>
+<h2>SWT Standalone Example - Java Syntax Viewer</h2>
-<h3>Introduction</h3>
-<p>This example demonstrates how to implement a user-defined line styler for
-the StyledText widget.
+<p>
+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.
</p>
<h3>Running the example</h3>
-<p>If the Example Launcher is installed, select the Java Viewer item from the Standalone category and click Run.&nbsp;
-Otherwise, install and run the example manually as per the
-<a href="swt_manual_setup.html">Standalone Examples Manual Setup</a> instructions.&nbsp; The executable class is
-<code>org.eclipse.swt.examples.javaviewer.JavaViewer</code>.
+<p>
+Follow the <a href="swt_manual_setup.html">Manual Setup</a>
+instructions to install and run the example from your workspace.
</p>
-
-<h3>Details</h3>
-<p>The example provides a typical editor interface.&nbsp; To see the effect of the line
-styler, open a *.java file.&nbsp; When the contents of the file are displayed in the
-editor area, notice that the keywords have been highlighted.
+<p>
+The "Main" class is <code>org.eclipse.swt.examples.javaviewer.JavaViewer</code>.
+</p>
+<p>
+This example can also be run using the <a href="swt_launcher_ex.html">Example Launcher</a>.
+Select the Java Syntax Viewer item from the Standalone category and click Run.
</p>
-<p><a href="hglegal.htm"><img SRC="ngibmcpy.gif" ALT="Copyright IBM Corporation 2000, 2001. All Rights Reserved." BORDER=0 height=12 width=195></a></p>
+<p><a href="hglegal2002.htm"><img SRC="ngibmcpy2002.gif" ALT="Copyright IBM Corporation 2000, 2002. All Rights Reserved." BORDER=0 height=12 width=195></a></p>
</body>
</html>
diff --git a/examples/org.eclipse.swt.examples/doc-html/swt_launcher_ex.html b/examples/org.eclipse.swt.examples/doc-html/swt_launcher_ex.html
new file mode 100644
index 0000000000..e8f563a746
--- /dev/null
+++ b/examples/org.eclipse.swt.examples/doc-html/swt_launcher_ex.html
@@ -0,0 +1,55 @@
+<!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>SWT Example Launcher</h2>
+
+<p>
+The Example Launcher is used to launch SWT examples which can either be Workbench Views,
+or Standalone applications.
+</p>
+
+<ul>
+<li>Workbench Views are examples that are integrated into Eclipse. When the Launcher
+starts a Workbench View, it is opened in the currently active perspective.
+<li>Standalone applications are launched in a separate window.
+</ul>
+
+<p>
+For information on how to run the standalone examples without the SWT Example Launcher,
+refer to <a href="swt_manual_setup.html">Manual Setup</a>.
+</p>
+<p>
+The SWT workbench view examples can also be launched directly without using the SWT Example
+Launcher. SWT workbench view examples can be found under the SWT Examples category of the
+Show Views dialog.
+</p>
+
+<h3>Running the Example Launcher</h3>
+
+<p>
+From the Window menu, select Show View &#8594; Other.
+In the Show View dialog, expand SWT Examples and select the SWT Example Launcher view.
+A view containing a list of examples will appear in your current perspective.
+Select an example from the list. A brief description of the example is displayed.
+Click on the Run button to launch the example.
+</p>
+
+
+<h3>Details</h3>
+<p>The example launcher view contains a tree list, a text area, and a button.
+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
+displays a short description of the example. The selected example can
+be launched by clicking on the Run button. Standalone examples are run in the
+same thread as the workbench's UI but they are not integrated into the perspective.
+The launcher invokes the <code>open()</code> method of the standalone example.
+</p>
+
+<p><a href="hglegal2002.htm"><img SRC="ngibmcpy2002.gif" ALT="Copyright IBM Corporation 2000, 2002. All Rights Reserved." BORDER=0 height=12 width=195></a></p>
+</body>
+</html>
diff --git a/examples/org.eclipse.swt.examples/doc-html/swt_layout_ex.html b/examples/org.eclipse.swt.examples/doc-html/swt_layout_ex.html
new file mode 100644
index 0000000000..573fb9aeda
--- /dev/null
+++ b/examples/org.eclipse.swt.examples/doc-html/swt_layout_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 - Layout Example</title>
+</head>
+<body>
+
+<h2>SWT Standalone Example - Layout Example</h2>
+
+<p>
+This example is a simple demonstration of common SWT layouts.
+It consists of a tab folder where each tab in the folder allows the
+user to interact with a different SWT layout.
+The user can insert widgets into a layout and set the values of the layout data
+using a property sheet. When the user has a suitable arrangement, code can be
+generated by clicking on the Code button.
+</p>
+
+<h3>Running the example</h3>
+<p>
+Follow the <a href="swt_manual_setup.html">Manual Setup</a>
+instructions to install and run the example from your workspace.
+</p>
+<p>
+The "Main" class is <code>org.eclipse.swt.examples.layoutexample.LayoutExample</code>.
+</p>
+
+<p><a href="hglegal2002.htm"><img SRC="ngibmcpy2002.gif" ALT="Copyright IBM Corporation 2000, 2002. All Rights Reserved." BORDER=0 height=12 width=195></a></p>
+</body>
+</html> \ No newline at end of file
diff --git a/examples/org.eclipse.swt.examples/doc-html/swt_manual_setup.html b/examples/org.eclipse.swt.examples/doc-html/swt_manual_setup.html
index fe96fa0201..709dfa29af 100755
--- a/examples/org.eclipse.swt.examples/doc-html/swt_manual_setup.html
+++ b/examples/org.eclipse.swt.examples/doc-html/swt_manual_setup.html
@@ -2,97 +2,116 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
- <title>SWT Standalone Examples Manual Setup</title>
+ <title>SWT Standalone Examples Setup</title>
</head>
<body>
-<h2>Standard Widget Toolkit (SWT) - Standalone Examples Manual Setup</h2>
+<h2>SWT Standalone Examples Setup</h2>
-<h3>Setup</h3>
-<p>There are several steps required to run the SWT standalone examples manually.
-</p>
+<h3>Importing Example Source</h3>
-<ul>
-<li><p>
-Create a Java Project to contain the examples.&nbsp; Call it <b>SWT Examples</b>.
+<p>
+*** In the following description, substitute the location in which you installed Eclipse for INSTALLDIR ***
</p>
-<li><p>
-Make sure the <b>swt.jar</b> file is on the java classpath, by doing the following:<br>
-Select the SWT Examples Project and bring up the Properties dialog.<br>
-On the Java Build Path page, select the Libraries tab, click on the Add External JARs button and select <b>swt.jar</b>.<br>
-Next, click on the Attach Source button, then click on the Browse File System button and select <b>swtsrc.zip</b>.<br>
-The files can be found in the following directory, depending one which Operating System you are using to run Eclipse:
-<ul>
-<li>Windows - &lt;install-dir&gt;\eclipse\plugins\org.eclipse.swt\
-<li>Motif - &lt;install-dir&gt;/eclipse/plugins/org.eclipse.swt/
-</ul>
-Click OK to save the Project properties.<br>
-</p>
+<p>Import the example code and all its required resources into your workspace:</p>
-<li><p>
-Make sure the <b>swtexamples.jar</b> is on the java classpath, by doing the following:<br>
-Select the SWT Examples Project and bring up the Properties dialog.<br>
-On the Java Build Path page, select the Libraries tab, click on the Add External JARs button and select <b>swtexamples.jar</b>.<br>
-Next, click on the Attach Source button, then click on the Browse File System button and select <b>swtexamplessrc.zip</b>.<br>
-The files can be found in the following directory, depending one which Operating System you are using to run Eclipse:
-<ul>
-<li>Windows - &lt;install-dir&gt;\eclipse\plugins\org.eclipse.swt.examples\
-<li>Motif - &lt;install-dir&gt;/eclipse/plugins/org.eclipse.swt.examples/
-</ul>
-Click OK to save the Project properties.<br>
-</p>
+<ol>
+<li>Create a Java Project called "SWT Examples".
+<li>Select the project "SWT Examples" in the Packages view.
+<li>Select the File &#8594; Import menu. Select Zip File. Click on Next.
+<li>Locate the source zip file for the SWT examples. For example:
+ <ul>
+ <li><b>win32: </b><code>INSTALLDIR\eclipse\plugins\org.eclipse.swt.examples_2.0.0\swtexamplessrc.zip</code>
+ <li><b>*nix: </b><code>INSTALLDIR/eclipse/plugins/org.eclipse.swt.examples_2.0.0/swtexamplessrc.zip</code>
+ </ul>
+<li>Click on Finish.
+<li>Select the File &#8594; Import menu. In the Import dialog, select Zip File. Click on Next.
+<li>Locate the jar file for the SWT examples. For example:
+ <ul>
+ <li><b>win32: </b><code>INSTALLDIR\eclipse\plugins\org.eclipse.swt.examples_2.0.0\swtexamples.jar</code>
+ <li><b>*nix: </b><code>INSTALLDIR/eclipse/plugins/org.eclipse.swt.examples_2.0.0/swtexamples.jar</code>
+ </ul>
+<li>Expand the top level directory of the zip file (/). <b>Uncheck "org" and "META-INF"</b>.
+<li>Click on Finish.
+</ol>
-<li><p>
-Make sure that referenced libraries are visible in the Packages view, by doing the following:<br>
-In the Packages view of the Java Perspective, drop down the View menu.<br>
-Ensure that <b>Show Referenced Libraries</b> is checked.
-</p>
+<p>Now you need to compile the SWT examples. In order to do this, you must add the SWT jar(s) to
+the compile path:</p>
+<ol>
+<li>Select the project "SWT Examples" in the Packages view and from the pop up menu select Properties.
+<li>Select the Java Build Path item.
+<li>Go to the Libraries tab.
+<li>Click on the Add External JARS... button.
+<li>Locate the swt jar for the platform on which you wish to run:<br>
+ <ul>
+ <li><b>win32: </b><code>INSTALLDIR\eclipse\plugins\org.eclipse.swt.win32_2.0.0\ws\win32\swt.jar</code>
+ <li><b>gtk: </b><code>INSTALLDIR/eclipse/plugins/org.eclipse.swt.gtk_2.0.0/ws/gtk/swt.jar</code>
+ <li><b>motif: </b><code>INSTALLDIR/eclipse/plugins/org.eclipse.swt.motif_2.0.0/ws/motif/swt.jar</code>
+ <li><b>photon: </b><code>INSTALLDIR/eclipse/plugins/org.eclipse.swt.photon_2.0.0/ws/photon/swt.jar</code>
+ </ul>
+<li>Click on OK.
+</ol>
+<p><b>NOTE:</b> For some platforms (such as GTK), more than one jar is required to run SWT (on
+GTK there is a swt.jar and a swt-pi.jar file). In this case, all the required jars must
+be added to the class path. This is done by repeating the steps above for each jar file.
+All jar files are located in the same directory/folder.</p>
-<li><p>
-Make sure the <b>SWT runtime library</b> is in the library search path, by doing the following:<br>
-In the Packages view of the Java Perspective, expand <b>swtexamples.jar</b>.<br>
-You will see all of the packages and other resource files present in the jar file, including the executable class for each example.<br>
-Select the executable class (the one containing the main() method) for the particular example that you wish to run and bring up the Properties dialog.<br>
-On the Execution Arguments page, select the VM arguments field and enter <b>-Djava.library.path=&lt;runtime-library-path&gt;</b>.<br>
-The runtime library path is the following directory, depending on which Operating System you are using to run Eclipse:
-<ul>
-<li>Windows - &lt;install-dir&gt;\eclipse\plugins\org.eclipse.swt\os\win32\x86 (or org.eclipse.swt\ws\win32 in Eclipse 1.0)
-<li>Motif - &lt;install-dir&gt;/eclipse/plugins/org.eclipse.swt/os/linux/x86 (or org.eclipse.swt/ws/motif in Eclipse 1.0)
-</ul>
-Click OK to save the Java Resource properties.<br>
-</p>
+<p>At this point your SWT examples should be compiled without any errors. Check the Task
+view for errors. If you get an error like "<code>java.lang.Object</code> not found" it means
+you have not configured a JRE. Go to the Window &#8594; Preferences dialog.
+Select Java &#8594; Installed JREs and ensure that a JRE is installed
+and that the path to the JRE is correct.</p>
-</ul>
+<h3><a NAME="Run"></a>Running the Example</h3>
-<h3><a NAME="Run"></a>Running the Examples</h3>
-<p>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,
-including the executable class for each example.
-</p>
-<p>All of the standalone SWT examples are intended to be run as Java
-Applications.&nbsp; No parameters need be passed to any of these examples,
-other than any required VM arguments.&nbsp; To run an example, simply
-select the executable class for the particular example, then click the Run button on the toolbar.
-</p>
+<p>Now you have to configure Eclipse to run the example. This requires putting the SWT
+JNI libraries on the library path so that the VM can find them:
-<h3><a NAME="Package"></a>Examples Manifest</h3>
-<p>Consult the documentation of each individual example for the names of
-its executable class(es) and additional details.
+<ol>
+<li>Open the Java Perspective.
+<li>In the Packages view, select the Main class that you want to run.
+ For example, the Main class for the Address Book example is
+ &nbsp;&nbsp;&nbsp;&nbsp;<code>org.eclipse.swt.examples.addressbook.AddressBook</code>.
+<li>SelectRun &#8594; Run... from the main menu.
+<li>In the Launch Configurations dialog that appears, select Java Application and click
+ on the New button.
+<li>Fill in the Name, Project and Main class fields according to the example you wish to run.
+<li>Select the Arguments tab. In the VM Arguements area specify the location of the SWT
+ library depending on your target platform as follows:
+ <ul>
+ <li><b>win32: </b><code>-Djava.library.path=INSTALLDIR\plugins\org.eclipse.swt.win32_2.0.0\os\win32\x86</code>
+ <li><b>linux gtk: </b><code>-Djava.library.path=INSTALLDIR/eclipse/plugins/org.eclipse.swt.gtk_2.0.0/os/linux/x86</code>
+ <li><b>linux motif: </b><code>-Djava.library.path=INSTALLDIR/eclipse/plugins/org.eclipse.swt.motif_2.0.0/os/linux/x86</code>
+ <li><b>solaris motif: </b><code>-Djava.library.path=INSTALLDIR/eclipse/plugins/org.eclipse.swt.motif_2.0.0/os/solaris/sparc</code>
+ <li><b>aix motif: </b><code>-Djava.library.path=INSTALLDIR/eclipse/plugins/org.eclipse.swt.motif_2.0.0/os/aix/ppc</code>
+ <li><b>hpux motif: </b><code>-Djava.library.path=INSTALLDIR/eclipse/plugins/org.eclipse.swt.motif_2.0.0/os/hpux/PA_RISC</code>
+ <li><b>photon qnx: </b><code>-Djava.library.path=INSTALLDIR/eclipse/plugins/org.eclipse.swt.photon_2.0.0/os/qnx/x86</code>
+ </ul>
+<li>Click on the Run button.
+</ol>
+
+
+<h3>Examples Overview</h3>
+<p>
+Consult the documentation of each individual example for the names of
+its Main class and additional details.
</p>
<p>
-<code>swtexamples.jar</code> contains the following examples:
+The following examples are included in the <code>swtexamples.jar</code>:
+</p>
<ul>
<li><a href="swt_addressbook_ex.html">Address Book</a>
+<li><a href="swt_control_ex.html">Control Overview</a>
<li><a href="swt_fileviewer_ex.html">File Viewer</a>
<li><a href="swt_helloworld_ex.html">Hello World [1-5]</a>
<li><a href="swt_hoverhelp_ex.html">Hover Help</a>
<li><a href="swt_imageanalyzer_ex.html">Image Analyzer</a>
<li><a href="swt_javaviewer_ex.html">Java Viewer</a>
+<li><a href="swt_layout_ex.html">Layout Overview</a>
<li><a href="swt_texteditor_ex.html">Text Editor</a>
</ul>
-</p>
-<p><br><a href="hglegal.htm"><img SRC="ngibmcpy.gif" ALT="Copyright IBM Corporation 2000, 2001. All Rights Reserved." BORDER=0 height=12 width=195></a>
+<p><br><a href="hglegal2002.htm"><img SRC="ngibmcpy2002.gif" ALT="Copyright IBM Corporation 2000, 2002. All Rights Reserved." 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
index 4be7dd936d..b467489ca8 100755
--- a/examples/org.eclipse.swt.examples/doc-html/swt_texteditor_ex.html
+++ b/examples/org.eclipse.swt.examples/doc-html/swt_texteditor_ex.html
@@ -6,26 +6,30 @@
</head>
<body>
-<h2>Standard Widget Toolkit (SWT) Standalone Example - Text Editor</h2>
+<h2>SWT Standalone Example - Text Editor</h2>
-<h3>Introduction</h3>
-<p>This example demonstrates how to use the StyledText widget to implement
+<p>
+This example demonstrates how to use the StyledText widget to implement
a text editor with formatting support.
+The example has a typical text editor interface.
+The Edit menu contains Cut, Copy, Paste and Set Font items and the toolbar
+provides a bold text toggle, three colour tools that operate on the current
+selection, and a reset to defaults button that also operates on the current selection.
</p>
<h3>Running the example</h3>
-<p>If the Example Launcher is installed, select the Text Editor item from the Standalone category and click Run.&nbsp;
-Otherwise, install and run the example manually as per the
-<a href="swt_manual_setup.html">Standalone Examples Manual Setup</a> instructions.&nbsp; The executable class is
-<code>org.eclipse.swt.examples.texteditor.TextEditor</code>.
+<p>
+Follow the <a href="swt_manual_setup.html">Manual Setup</a>
+instructions to install and run the example from your workspace.
</p>
-
-<h3>Details</h3>
-<p>The example has a typical text editor interface.&nbsp; The Edit menu contains Cut, Copy, Paste and Set Font
-items and the toolbar provides a bold text toggle, three colour tools that operate on the current selection,
-and a reset to defaults button that also operates on the current selection.
+<p>
+The "Main" class is <code>org.eclipse.swt.examples.texteditor.TextEditor</code>.
+</p>
+<p>
+This example can also be run using the <a href="swt_launcher_ex.html">Example Launcher</a>.
+Select the Text Editor item from the Standalone category and click Run.
</p>
-<p><a href="hglegal.htm"><img SRC="ngibmcpy.gif" ALT="Copyright IBM Corporation 2000, 2001. All Rights Reserved." BORDER=0 height=12 width=195></a></p>
+<p><a href="hglegal2002.htm"><img SRC="ngibmcpy2002.gif" ALT="Copyright IBM Corporation 2000, 2002. All Rights Reserved." BORDER=0 height=12 width=195></a></p>
</body>
</html>
diff --git a/examples/org.eclipse.swt.examples/plugin.properties b/examples/org.eclipse.swt.examples/plugin.properties
index 0cc61041f8..6382611aed 100755
--- a/examples/org.eclipse.swt.examples/plugin.properties
+++ b/examples/org.eclipse.swt.examples/plugin.properties
@@ -4,21 +4,26 @@ plugin.SWTStandaloneExampleSet.name = SWT Standalone Examples Plugin
launchcategory.SWTStandaloneExamples.name = Standalone
launchcategory.SWTStandaloneExamples.description = \
A collection of Standard Widget Toolkit examples that run independant \
- of the Eclipse Platform.\n\n\
- These examples may take a moment to start while a new runtime environment \
- is created in the background.
+ of the Eclipse Platform.
launchitem.AddressBook.name = Address Book
launchitem.AddressBook.description = \
- The AddressBook example shows how the org.eclipse.swt.Table class can be used to \
- present tabular information.\n\n\
- The application can save and load address books, sort the entries, search for strings within \
- the fields and perform other operations that would typically be found in this kind of application.
+ The AddressBook example shows how the Table control can be used to \
+ present information in a tabular format.\n\n\
+ The application can save and load data from a file, sort the entries, and \
+ search for strings within the fields.
+
+launchitem.ControlExample.name = SWT Controls Example
+launchitem.ControlExample.description = \
+ The Controls example is a simple demonstration of common SWT controls. \n\n\
+ It consists of a tab folder where each tab in the folder allows the user \
+ to interact with a different control. \
+ The user can change styles and settings and view how this affects the control.
launchitem.FileViewer.name = File Viewer
launchitem.FileViewer.description = \
The File Viewer example shows how a simple application can be implemented using SWT.\n\n\
- This application provides the ability to browse files and folders and manipulate via Drag & Drop. \
+ This application provides the ability to navigate files and folders and manipulate them via Drag and Drop. \
It includes the use of alternate threads for long actions and demonstrates the use of the Tree, \
Table, Toolbar and Program.
@@ -28,35 +33,32 @@ launchitem.HoverHelp.description = \
on a number of different SWT controls including Buttons, TableItems, ToolItems and TreeItems.\n\n\
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.\n\n\
- 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.
+ An image appears in the left-hand corner of the tooltip.\n\n\
+ To see the custom hover help in action, hover over an item or button in the UI until \
+ the tooltip is displayed. Without moving the mouse, 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.
+ This example demonstrates how to open a Shell and process the events.
launchitem.HelloWorld2.name = Hello World (2)
launchitem.HelloWorld2.description = \
- 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.
+ This example builds on HelloWorld1 and demonstrates how to display a Label inside the Shell.
launchitem.HelloWorld3.name = Hello World (3)
launchitem.HelloWorld3.description = \
- This example builds on HelloWorld2 and demonstrates how to resize the Label when the Shell \
- resizes using a Listener mechanism.
+ This example builds on HelloWorld2 and demonstrates how to resize the Label \
+ when the Shell resizes using a Listener mechanism.
launchitem.HelloWorld4.name = Hello World (4)
launchitem.HelloWorld4.description = \
- This example builds on HelloWorld2 and demonstrates how to resize the Label when the Shell \
- resizes using a Layout.
+ This example builds on HelloWorld2 and demonstrates how to resize the Label \
+ when the Shell resizes using a Layout.
launchitem.HelloWorld5.name = Hello World (5)
launchitem.HelloWorld5.description = \
- This example builds on HelloWorld1 and demonstrates how to draw directly on an SWT Control.
+ This example builds on HelloWorld1 and demonstrates how to draw directly on an SWT Control using a graphic context.
launchitem.ImageAnalyzer.name = Image Analyzer
launchitem.ImageAnalyzer.description = \
@@ -91,6 +93,15 @@ launchitem.JavaViewer.description = \
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.LayoutExample.name = Layout Example
+launchitem.LayoutExample.description = \
+ This example is a simple demonstration of common SWT layouts. \n\n\
+ It consists of a tab folder where each tab in the folder allows the \
+ user to interact with a different SWT layout. \
+ The user can insert widgets into a layout and set the values of the layout data \
+ using a property sheet. When the user has a suitable arrangement, code can be \
+ generated by clicking on the Code button.
+
launchitem.TextEditor.name = Text Editor
launchitem.TextEditor.description = \
This example demonstrates how to use the StyledText widget to implement \

Back to the top