comparison org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet237.d @ 29:4e5843b771cc

First snippets buildable on windows
author Frank Benoit <benoit@tionex.de>
date Sun, 22 Mar 2009 19:55:00 +0100
parents 69b1fa94a4a8
children 536e43f63c81
comparison
equal deleted inserted replaced
28:69b1fa94a4a8 29:4e5843b771cc
72 } 72 }
73 display.dispose(); 73 display.dispose();
74 } 74 }
75 static void createChildren(Composite parent) { 75 static void createChildren(Composite parent) {
76 parent.setLayout(new RowLayout()); 76 parent.setLayout(new RowLayout());
77 List list = new List(parent, SWT.BORDER | DWT.MULTI); 77 List list = new List(parent, SWT.BORDER | SWT.MULTI);
78 list.add("List item 1"); 78 list.add("List item 1");
79 list.add("List item 2"); 79 list.add("List item 2");
80 Label label = new Label(parent, SWT.NONE); 80 Label label = new Label(parent, SWT.NONE);
81 label.setText("Label"); 81 label.setText("Label");
82 Button button = new Button(parent, SWT.RADIO); 82 Button button = new Button(parent, SWT.RADIO);