comparison org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet235.d @ 112:9f4c18c268b2

Update to compile and execute with dmd 2.052.
author kntroh
date Wed, 16 Mar 2011 21:53:53 +0900
parents 4e5843b771cc
children 536e43f63c81
comparison
equal deleted inserted replaced
111:b6e9904989ed 112:9f4c18c268b2
41 shell.setText("The SWT.Settings Event"); 41 shell.setText("The SWT.Settings Event");
42 shell.setLayout(new GridLayout()); 42 shell.setLayout(new GridLayout());
43 Label label = new Label(shell, SWT.WRAP); 43 Label label = new Label(shell, SWT.WRAP);
44 label.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false)); 44 label.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false));
45 label.setText("Change a system setting and the table below will be updated."); 45 label.setText("Change a system setting and the table below will be updated.");
46 final Table table = new Table(shell, SWT.BORDER); 46 Table table = new Table(shell, SWT.BORDER);
47 table.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true)); 47 table.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
48 TableColumn column = new TableColumn(table, SWT.NONE); 48 TableColumn column = new TableColumn(table, SWT.NONE);
49 column = new TableColumn(table, SWT.NONE); 49 column = new TableColumn(table, SWT.NONE);
50 column.setWidth(150); 50 column.setWidth(150);
51 column = new TableColumn(table, SWT.NONE); 51 column = new TableColumn(table, SWT.NONE);