Community
Participate
Working Groups
assertEquals( 1, table.getItemCount() );
}
public void testDisposedFont() {
Display display = new Display();
Shell shell = new Shell( display );
Table table = new Table( shell, SWT.NONE );
new TableColumn( table, SWT.LEAD );
Font font = new Font( display, "foo", 10, SWT.BOLD );
table.setFont( font );
font.dispose();
table.dispose();
private static boolean find( final int element, final int[] array ) {
boolean result = false;
for( int i = 0; i < array.length; i++ ) {