comparison dwt/custom/TableEditor.d @ 212:ab60f3309436

reverted the char[] to String and use the an alias.
author Frank Benoit <benoit@tionex.de>
date Mon, 05 May 2008 00:12:38 +0200
parents a5afe31f5cdd
children fd9c62a2998e
comparison
equal deleted inserted replaced
211:ff59aeb96cac 212:ab60f3309436
39 * final Table table = new Table(shell, DWT.FULL_SELECTION | DWT.HIDE_SELECTION); 39 * final Table table = new Table(shell, DWT.FULL_SELECTION | DWT.HIDE_SELECTION);
40 * TableColumn column1 = new TableColumn(table, DWT.NONE); 40 * TableColumn column1 = new TableColumn(table, DWT.NONE);
41 * TableColumn column2 = new TableColumn(table, DWT.NONE); 41 * TableColumn column2 = new TableColumn(table, DWT.NONE);
42 * for (int i = 0; i &lt; 10; i++) { 42 * for (int i = 0; i &lt; 10; i++) {
43 * TableItem item = new TableItem(table, DWT.NONE); 43 * TableItem item = new TableItem(table, DWT.NONE);
44 * item.setText(new char[][] {"item " + i, "edit this value"}); 44 * item.setText(new String[] {"item " + i, "edit this value"});
45 * } 45 * }
46 * column1.pack(); 46 * column1.pack();
47 * column2.pack(); 47 * column2.pack();
48 * 48 *
49 * final TableEditor editor = new TableEditor(table); 49 * final TableEditor editor = new TableEditor(table);