Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/org.eclipse.swt.tests.gtk/ManualTests/org/eclipse/swt/tests/gtk/snippets/Bug436085_TextEntryTabs.java')
-rw-r--r--tests/org.eclipse.swt.tests.gtk/ManualTests/org/eclipse/swt/tests/gtk/snippets/Bug436085_TextEntryTabs.java22
1 files changed, 11 insertions, 11 deletions
diff --git a/tests/org.eclipse.swt.tests.gtk/ManualTests/org/eclipse/swt/tests/gtk/snippets/Bug436085_TextEntryTabs.java b/tests/org.eclipse.swt.tests.gtk/ManualTests/org/eclipse/swt/tests/gtk/snippets/Bug436085_TextEntryTabs.java
index b75da0e6c6..68dfa9d97e 100644
--- a/tests/org.eclipse.swt.tests.gtk/ManualTests/org/eclipse/swt/tests/gtk/snippets/Bug436085_TextEntryTabs.java
+++ b/tests/org.eclipse.swt.tests.gtk/ManualTests/org/eclipse/swt/tests/gtk/snippets/Bug436085_TextEntryTabs.java
@@ -21,16 +21,16 @@ import org.eclipse.swt.widgets.Text;
public class Bug436085_TextEntryTabs {
public static void main (String [] args) {
- Display display = new Display ();
- Shell shell = new Shell(display);
- Text text = new Text(shell, SWT.SINGLE | SWT.BORDER);
- text.setBounds (10, 10, 1000, 60);
- text.setTabs(1);
- text.append("1\t12\t123\t1234\t12345\t123456\t1234567\t12345678\t12345678");
- shell.open ();
- while (!shell.isDisposed()) {
- if (!display.readAndDispatch()) display.sleep();
- }
- display.dispose();
+ Display display = new Display ();
+ Shell shell = new Shell(display);
+ Text text = new Text(shell, SWT.SINGLE | SWT.BORDER);
+ text.setBounds (10, 10, 1000, 60);
+ text.setTabs(1);
+ text.append("1\t12\t123\t1234\t12345\t123456\t1234567\t12345678\t12345678");
+ shell.open ();
+ while (!shell.isDisposed()) {
+ if (!display.readAndDispatch()) display.sleep();
+ }
+ display.dispose();
}
}

Back to the top