Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet21.java')
-rw-r--r--examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet21.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet21.java b/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet21.java
index 6913cd5d77..5e42d97eea 100644
--- a/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet21.java
+++ b/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet21.java
@@ -30,6 +30,7 @@ public static void main (String [] args) {
final Color red = display.getSystemColor (SWT.COLOR_RED);
final Color blue = display.getSystemColor (SWT.COLOR_BLUE);
Shell shell = new Shell (display);
+ shell.setText("Snippet 21");
Button b = new Button (shell, SWT.PUSH);
Rectangle clientArea = shell.getClientArea ();
b.setBounds (clientArea.x + 10, clientArea.y + 10, 100, 32);

Back to the top