summaryrefslogtreecommitdiffstats
path: root/examples/org.eclipse.swt.examples.layouts/doc-html/swt_layout_ex.html
blob: 9857c599fa5061acb33a7b52bb0a8b73c26667db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<!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 example - Layouts</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, the underlying
code can be generated by clicking on the <strong>Code</strong> button.
</p>

<h3>Running the example</h3>
<p>
Follow the <a href="../../org.eclipse.swt.examples/doc-html/swt_manual_setup.html">SWT standalone examples 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>
This example can also be run using the <a href="../../org.eclipse.swt.examples.launcher/doc-html/swt_launcher_ex.html">Example Launcher</a>.
Select the <strong>Layouts</strong> item from the <strong>Workbench Views</strong> category and click <strong>Run</strong>.
</p>

<p><a href="hglegal.htm"><img SRC="ngibmcpy.gif" ALT="Copyright IBM Corporation and others 2000, 2004.  All Rights Reserved." BORDER=0 height=14 width=324></a></p>
</body>
</html>