Mercurial > projects > dwt2
comparison org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet10.d @ 44:ed96ea2a2764
First swt win snippets are buiding with d2+phobos
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Wed, 25 Mar 2009 18:31:01 +0100 |
parents | 4e5843b771cc |
children | 536e43f63c81 |
comparison
equal
deleted
inserted
replaced
43:b98647bc0aef | 44:ed96ea2a2764 |
---|---|
30 import org.eclipse.swt.graphics.Rectangle; | 30 import org.eclipse.swt.graphics.Rectangle; |
31 import org.eclipse.swt.widgets.Display; | 31 import org.eclipse.swt.widgets.Display; |
32 import org.eclipse.swt.widgets.Shell; | 32 import org.eclipse.swt.widgets.Shell; |
33 import org.eclipse.swt.widgets.Listener; | 33 import org.eclipse.swt.widgets.Listener; |
34 import org.eclipse.swt.widgets.Event; | 34 import org.eclipse.swt.widgets.Event; |
35 | |
36 | 35 |
37 void main() { | 36 void main() { |
38 Display display = new Display(); | 37 Display display = new Display(); |
39 Shell shell = new Shell(display); | 38 Shell shell = new Shell(display); |
40 shell.setText("Advanced Graphics"); | 39 shell.setText("Advanced Graphics"); |