<!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>Standard Widget Toolkit (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> | |
<h3>Running the example</h3> | |
<p>If the Example Launcher is installed, select the Java Viewer item from the Standalone category and click Run. | |
Otherwise, install and run the example manually as per the | |
<a href="swt_manual_setup.html">Standalone Examples Manual Setup</a> instructions. The executable class is | |
<code>org.eclipse.swt.examples.javaviewer.JavaViewer</code>. | |
</p> | |
<h3>Details</h3> | |
<p>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> | |
<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> | |
</body> | |
</html> |