Mercurial > projects > dwt2
diff org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet162.d @ 112:9f4c18c268b2
Update to compile and execute with dmd 2.052.
author | kntroh |
---|---|
date | Wed, 16 Mar 2011 21:53:53 +0900 |
parents | 69b1fa94a4a8 |
children | 536e43f63c81 |
line wrap: on
line diff
--- a/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet162.d Sat Nov 13 14:15:51 2010 +0100 +++ b/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet162.d Wed Mar 16 21:53:53 2011 +0900 @@ -46,15 +46,15 @@ public class Snippet162 { - final static String STATE = "CheckedIndices"; + const static String STATE = "CheckedIndices"; public static void main (String [] args) { - final Display display = new Display (); + Display display = new Display (); Image checkedImage = getCheckedImage (display); Image uncheckedImage = getUncheckedImage (display); Shell shell = new Shell (display); shell.setLayout (new FillLayout ()); - final Table table = new Table (shell, SWT.BORDER); + Table table = new Table (shell, SWT.BORDER); TableColumn column1 = new TableColumn (table, SWT.NONE); TableColumn column2 = new TableColumn (table, SWT.NONE); TableColumn column3 = new TableColumn (table, SWT.NONE);